package com.ssish.saas.eccs.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EmployeeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EmployeeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andArGraceIsNull() {
            addCriterion("AR_GRACE is null");
            return (Criteria) this;
        }

        public Criteria andArGraceIsNotNull() {
            addCriterion("AR_GRACE is not null");
            return (Criteria) this;
        }

        public Criteria andArGraceEqualTo(Short value) {
            addCriterion("AR_GRACE =", value, "arGrace");
            return (Criteria) this;
        }

        public Criteria andArGraceNotEqualTo(Short value) {
            addCriterion("AR_GRACE <>", value, "arGrace");
            return (Criteria) this;
        }

        public Criteria andArGraceGreaterThan(Short value) {
            addCriterion("AR_GRACE >", value, "arGrace");
            return (Criteria) this;
        }

        public Criteria andArGraceGreaterThanOrEqualTo(Short value) {
            addCriterion("AR_GRACE >=", value, "arGrace");
            return (Criteria) this;
        }

        public Criteria andArGraceLessThan(Short value) {
            addCriterion("AR_GRACE <", value, "arGrace");
            return (Criteria) this;
        }

        public Criteria andArGraceLessThanOrEqualTo(Short value) {
            addCriterion("AR_GRACE <=", value, "arGrace");
            return (Criteria) this;
        }

        public Criteria andArGraceIn(List<Short> values) {
            addCriterion("AR_GRACE in", values, "arGrace");
            return (Criteria) this;
        }

        public Criteria andArGraceNotIn(List<Short> values) {
            addCriterion("AR_GRACE not in", values, "arGrace");
            return (Criteria) this;
        }

        public Criteria andArGraceBetween(Short value1, Short value2) {
            addCriterion("AR_GRACE between", value1, value2, "arGrace");
            return (Criteria) this;
        }

        public Criteria andArGraceNotBetween(Short value1, Short value2) {
            addCriterion("AR_GRACE not between", value1, value2, "arGrace");
            return (Criteria) this;
        }

        public Criteria andCardIssuedIsNull() {
            addCriterion("CARD_ISSUED is null");
            return (Criteria) this;
        }

        public Criteria andCardIssuedIsNotNull() {
            addCriterion("CARD_ISSUED is not null");
            return (Criteria) this;
        }

        public Criteria andCardIssuedEqualTo(String value) {
            addCriterion("CARD_ISSUED =", value, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andCardIssuedNotEqualTo(String value) {
            addCriterion("CARD_ISSUED <>", value, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andCardIssuedGreaterThan(String value) {
            addCriterion("CARD_ISSUED >", value, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andCardIssuedGreaterThanOrEqualTo(String value) {
            addCriterion("CARD_ISSUED >=", value, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andCardIssuedLessThan(String value) {
            addCriterion("CARD_ISSUED <", value, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andCardIssuedLessThanOrEqualTo(String value) {
            addCriterion("CARD_ISSUED <=", value, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andCardIssuedLike(String value) {
            addCriterion("CARD_ISSUED like", value, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andCardIssuedNotLike(String value) {
            addCriterion("CARD_ISSUED not like", value, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andCardIssuedIn(List<String> values) {
            addCriterion("CARD_ISSUED in", values, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andCardIssuedNotIn(List<String> values) {
            addCriterion("CARD_ISSUED not in", values, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andCardIssuedBetween(String value1, String value2) {
            addCriterion("CARD_ISSUED between", value1, value2, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andCardIssuedNotBetween(String value1, String value2) {
            addCriterion("CARD_ISSUED not between", value1, value2, "cardIssued");
            return (Criteria) this;
        }

        public Criteria andDesignationIsNull() {
            addCriterion("DESIGNATION is null");
            return (Criteria) this;
        }

        public Criteria andDesignationIsNotNull() {
            addCriterion("DESIGNATION is not null");
            return (Criteria) this;
        }

        public Criteria andDesignationEqualTo(String value) {
            addCriterion("DESIGNATION =", value, "designation");
            return (Criteria) this;
        }

        public Criteria andDesignationNotEqualTo(String value) {
            addCriterion("DESIGNATION <>", value, "designation");
            return (Criteria) this;
        }

        public Criteria andDesignationGreaterThan(String value) {
            addCriterion("DESIGNATION >", value, "designation");
            return (Criteria) this;
        }

        public Criteria andDesignationGreaterThanOrEqualTo(String value) {
            addCriterion("DESIGNATION >=", value, "designation");
            return (Criteria) this;
        }

        public Criteria andDesignationLessThan(String value) {
            addCriterion("DESIGNATION <", value, "designation");
            return (Criteria) this;
        }

        public Criteria andDesignationLessThanOrEqualTo(String value) {
            addCriterion("DESIGNATION <=", value, "designation");
            return (Criteria) this;
        }

        public Criteria andDesignationLike(String value) {
            addCriterion("DESIGNATION like", value, "designation");
            return (Criteria) this;
        }

        public Criteria andDesignationNotLike(String value) {
            addCriterion("DESIGNATION not like", value, "designation");
            return (Criteria) this;
        }

        public Criteria andDesignationIn(List<String> values) {
            addCriterion("DESIGNATION in", values, "designation");
            return (Criteria) this;
        }

        public Criteria andDesignationNotIn(List<String> values) {
            addCriterion("DESIGNATION not in", values, "designation");
            return (Criteria) this;
        }

        public Criteria andDesignationBetween(String value1, String value2) {
            addCriterion("DESIGNATION between", value1, value2, "designation");
            return (Criteria) this;
        }

        public Criteria andDesignationNotBetween(String value1, String value2) {
            addCriterion("DESIGNATION not between", value1, value2, "designation");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("UNIT is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("UNIT is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("UNIT =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("UNIT <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("UNIT >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("UNIT >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("UNIT <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("UNIT <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("UNIT like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("UNIT not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("UNIT in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("UNIT not in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitBetween(String value1, String value2) {
            addCriterion("UNIT between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotBetween(String value1, String value2) {
            addCriterion("UNIT not between", value1, value2, "unit");
            return (Criteria) this;
        }

        public Criteria andRecordStatusIsNull() {
            addCriterion("RECORD_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andRecordStatusIsNotNull() {
            addCriterion("RECORD_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andRecordStatusEqualTo(Short value) {
            addCriterion("RECORD_STATUS =", value, "recordStatus");
            return (Criteria) this;
        }

        public Criteria andRecordStatusNotEqualTo(Short value) {
            addCriterion("RECORD_STATUS <>", value, "recordStatus");
            return (Criteria) this;
        }

        public Criteria andRecordStatusGreaterThan(Short value) {
            addCriterion("RECORD_STATUS >", value, "recordStatus");
            return (Criteria) this;
        }

        public Criteria andRecordStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("RECORD_STATUS >=", value, "recordStatus");
            return (Criteria) this;
        }

        public Criteria andRecordStatusLessThan(Short value) {
            addCriterion("RECORD_STATUS <", value, "recordStatus");
            return (Criteria) this;
        }

        public Criteria andRecordStatusLessThanOrEqualTo(Short value) {
            addCriterion("RECORD_STATUS <=", value, "recordStatus");
            return (Criteria) this;
        }

        public Criteria andRecordStatusIn(List<Short> values) {
            addCriterion("RECORD_STATUS in", values, "recordStatus");
            return (Criteria) this;
        }

        public Criteria andRecordStatusNotIn(List<Short> values) {
            addCriterion("RECORD_STATUS not in", values, "recordStatus");
            return (Criteria) this;
        }

        public Criteria andRecordStatusBetween(Short value1, Short value2) {
            addCriterion("RECORD_STATUS between", value1, value2, "recordStatus");
            return (Criteria) this;
        }

        public Criteria andRecordStatusNotBetween(Short value1, Short value2) {
            addCriterion("RECORD_STATUS not between", value1, value2, "recordStatus");
            return (Criteria) this;
        }

        public Criteria andDepartmentIsNull() {
            addCriterion("DEPARTMENT is null");
            return (Criteria) this;
        }

        public Criteria andDepartmentIsNotNull() {
            addCriterion("DEPARTMENT is not null");
            return (Criteria) this;
        }

        public Criteria andDepartmentEqualTo(String value) {
            addCriterion("DEPARTMENT =", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotEqualTo(String value) {
            addCriterion("DEPARTMENT <>", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentGreaterThan(String value) {
            addCriterion("DEPARTMENT >", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("DEPARTMENT >=", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLessThan(String value) {
            addCriterion("DEPARTMENT <", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLessThanOrEqualTo(String value) {
            addCriterion("DEPARTMENT <=", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLike(String value) {
            addCriterion("DEPARTMENT like", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotLike(String value) {
            addCriterion("DEPARTMENT not like", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentIn(List<String> values) {
            addCriterion("DEPARTMENT in", values, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotIn(List<String> values) {
            addCriterion("DEPARTMENT not in", values, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentBetween(String value1, String value2) {
            addCriterion("DEPARTMENT between", value1, value2, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotBetween(String value1, String value2) {
            addCriterion("DEPARTMENT not between", value1, value2, "department");
            return (Criteria) this;
        }

        public Criteria andBranchIsNull() {
            addCriterion("BRANCH is null");
            return (Criteria) this;
        }

        public Criteria andBranchIsNotNull() {
            addCriterion("BRANCH is not null");
            return (Criteria) this;
        }

        public Criteria andBranchEqualTo(Object value) {
            addCriterion("BRANCH =", value, "branch");
            return (Criteria) this;
        }

        public Criteria andBranchNotEqualTo(Object value) {
            addCriterion("BRANCH <>", value, "branch");
            return (Criteria) this;
        }

        public Criteria andBranchGreaterThan(Object value) {
            addCriterion("BRANCH >", value, "branch");
            return (Criteria) this;
        }

        public Criteria andBranchGreaterThanOrEqualTo(Object value) {
            addCriterion("BRANCH >=", value, "branch");
            return (Criteria) this;
        }

        public Criteria andBranchLessThan(Object value) {
            addCriterion("BRANCH <", value, "branch");
            return (Criteria) this;
        }

        public Criteria andBranchLessThanOrEqualTo(Object value) {
            addCriterion("BRANCH <=", value, "branch");
            return (Criteria) this;
        }

        public Criteria andBranchIn(List<Object> values) {
            addCriterion("BRANCH in", values, "branch");
            return (Criteria) this;
        }

        public Criteria andBranchNotIn(List<Object> values) {
            addCriterion("BRANCH not in", values, "branch");
            return (Criteria) this;
        }

        public Criteria andBranchBetween(Object value1, Object value2) {
            addCriterion("BRANCH between", value1, value2, "branch");
            return (Criteria) this;
        }

        public Criteria andBranchNotBetween(Object value1, Object value2) {
            addCriterion("BRANCH not between", value1, value2, "branch");
            return (Criteria) this;
        }

        public Criteria andLocationIsNull() {
            addCriterion("LOCATION is null");
            return (Criteria) this;
        }

        public Criteria andLocationIsNotNull() {
            addCriterion("LOCATION is not null");
            return (Criteria) this;
        }

        public Criteria andLocationEqualTo(String value) {
            addCriterion("LOCATION =", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotEqualTo(String value) {
            addCriterion("LOCATION <>", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThan(String value) {
            addCriterion("LOCATION >", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThanOrEqualTo(String value) {
            addCriterion("LOCATION >=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThan(String value) {
            addCriterion("LOCATION <", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThanOrEqualTo(String value) {
            addCriterion("LOCATION <=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLike(String value) {
            addCriterion("LOCATION like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotLike(String value) {
            addCriterion("LOCATION not like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationIn(List<String> values) {
            addCriterion("LOCATION in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotIn(List<String> values) {
            addCriterion("LOCATION not in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationBetween(String value1, String value2) {
            addCriterion("LOCATION between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotBetween(String value1, String value2) {
            addCriterion("LOCATION not between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryIsNull() {
            addCriterion("SUBSIDIARY is null");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryIsNotNull() {
            addCriterion("SUBSIDIARY is not null");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryEqualTo(String value) {
            addCriterion("SUBSIDIARY =", value, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryNotEqualTo(String value) {
            addCriterion("SUBSIDIARY <>", value, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryGreaterThan(String value) {
            addCriterion("SUBSIDIARY >", value, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryGreaterThanOrEqualTo(String value) {
            addCriterion("SUBSIDIARY >=", value, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryLessThan(String value) {
            addCriterion("SUBSIDIARY <", value, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryLessThanOrEqualTo(String value) {
            addCriterion("SUBSIDIARY <=", value, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryLike(String value) {
            addCriterion("SUBSIDIARY like", value, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryNotLike(String value) {
            addCriterion("SUBSIDIARY not like", value, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryIn(List<String> values) {
            addCriterion("SUBSIDIARY in", values, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryNotIn(List<String> values) {
            addCriterion("SUBSIDIARY not in", values, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryBetween(String value1, String value2) {
            addCriterion("SUBSIDIARY between", value1, value2, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andSubsidiaryNotBetween(String value1, String value2) {
            addCriterion("SUBSIDIARY not between", value1, value2, "subsidiary");
            return (Criteria) this;
        }

        public Criteria andLegalEntityIsNull() {
            addCriterion("LEGAL_ENTITY is null");
            return (Criteria) this;
        }

        public Criteria andLegalEntityIsNotNull() {
            addCriterion("LEGAL_ENTITY is not null");
            return (Criteria) this;
        }

        public Criteria andLegalEntityEqualTo(String value) {
            addCriterion("LEGAL_ENTITY =", value, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andLegalEntityNotEqualTo(String value) {
            addCriterion("LEGAL_ENTITY <>", value, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andLegalEntityGreaterThan(String value) {
            addCriterion("LEGAL_ENTITY >", value, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andLegalEntityGreaterThanOrEqualTo(String value) {
            addCriterion("LEGAL_ENTITY >=", value, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andLegalEntityLessThan(String value) {
            addCriterion("LEGAL_ENTITY <", value, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andLegalEntityLessThanOrEqualTo(String value) {
            addCriterion("LEGAL_ENTITY <=", value, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andLegalEntityLike(String value) {
            addCriterion("LEGAL_ENTITY like", value, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andLegalEntityNotLike(String value) {
            addCriterion("LEGAL_ENTITY not like", value, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andLegalEntityIn(List<String> values) {
            addCriterion("LEGAL_ENTITY in", values, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andLegalEntityNotIn(List<String> values) {
            addCriterion("LEGAL_ENTITY not in", values, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andLegalEntityBetween(String value1, String value2) {
            addCriterion("LEGAL_ENTITY between", value1, value2, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andLegalEntityNotBetween(String value1, String value2) {
            addCriterion("LEGAL_ENTITY not between", value1, value2, "legalEntity");
            return (Criteria) this;
        }

        public Criteria andCorpCodeIsNull() {
            addCriterion("CORP_CODE is null");
            return (Criteria) this;
        }

        public Criteria andCorpCodeIsNotNull() {
            addCriterion("CORP_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andCorpCodeEqualTo(String value) {
            addCriterion("CORP_CODE =", value, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCorpCodeNotEqualTo(String value) {
            addCriterion("CORP_CODE <>", value, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCorpCodeGreaterThan(String value) {
            addCriterion("CORP_CODE >", value, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCorpCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CORP_CODE >=", value, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCorpCodeLessThan(String value) {
            addCriterion("CORP_CODE <", value, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCorpCodeLessThanOrEqualTo(String value) {
            addCriterion("CORP_CODE <=", value, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCorpCodeLike(String value) {
            addCriterion("CORP_CODE like", value, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCorpCodeNotLike(String value) {
            addCriterion("CORP_CODE not like", value, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCorpCodeIn(List<String> values) {
            addCriterion("CORP_CODE in", values, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCorpCodeNotIn(List<String> values) {
            addCriterion("CORP_CODE not in", values, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCorpCodeBetween(String value1, String value2) {
            addCriterion("CORP_CODE between", value1, value2, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCorpCodeNotBetween(String value1, String value2) {
            addCriterion("CORP_CODE not between", value1, value2, "corpCode");
            return (Criteria) this;
        }

        public Criteria andCostCenterIsNull() {
            addCriterion("COST_CENTER is null");
            return (Criteria) this;
        }

        public Criteria andCostCenterIsNotNull() {
            addCriterion("COST_CENTER is not null");
            return (Criteria) this;
        }

        public Criteria andCostCenterEqualTo(String value) {
            addCriterion("COST_CENTER =", value, "costCenter");
            return (Criteria) this;
        }

        public Criteria andCostCenterNotEqualTo(String value) {
            addCriterion("COST_CENTER <>", value, "costCenter");
            return (Criteria) this;
        }

        public Criteria andCostCenterGreaterThan(String value) {
            addCriterion("COST_CENTER >", value, "costCenter");
            return (Criteria) this;
        }

        public Criteria andCostCenterGreaterThanOrEqualTo(String value) {
            addCriterion("COST_CENTER >=", value, "costCenter");
            return (Criteria) this;
        }

        public Criteria andCostCenterLessThan(String value) {
            addCriterion("COST_CENTER <", value, "costCenter");
            return (Criteria) this;
        }

        public Criteria andCostCenterLessThanOrEqualTo(String value) {
            addCriterion("COST_CENTER <=", value, "costCenter");
            return (Criteria) this;
        }

        public Criteria andCostCenterLike(String value) {
            addCriterion("COST_CENTER like", value, "costCenter");
            return (Criteria) this;
        }

        public Criteria andCostCenterNotLike(String value) {
            addCriterion("COST_CENTER not like", value, "costCenter");
            return (Criteria) this;
        }

        public Criteria andCostCenterIn(List<String> values) {
            addCriterion("COST_CENTER in", values, "costCenter");
            return (Criteria) this;
        }

        public Criteria andCostCenterNotIn(List<String> values) {
            addCriterion("COST_CENTER not in", values, "costCenter");
            return (Criteria) this;
        }

        public Criteria andCostCenterBetween(String value1, String value2) {
            addCriterion("COST_CENTER between", value1, value2, "costCenter");
            return (Criteria) this;
        }

        public Criteria andCostCenterNotBetween(String value1, String value2) {
            addCriterion("COST_CENTER not between", value1, value2, "costCenter");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenIsNull() {
            addCriterion("NO_OF_CHILDREN is null");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenIsNotNull() {
            addCriterion("NO_OF_CHILDREN is not null");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenEqualTo(Short value) {
            addCriterion("NO_OF_CHILDREN =", value, "noOfChildren");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenNotEqualTo(Short value) {
            addCriterion("NO_OF_CHILDREN <>", value, "noOfChildren");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenGreaterThan(Short value) {
            addCriterion("NO_OF_CHILDREN >", value, "noOfChildren");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenGreaterThanOrEqualTo(Short value) {
            addCriterion("NO_OF_CHILDREN >=", value, "noOfChildren");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenLessThan(Short value) {
            addCriterion("NO_OF_CHILDREN <", value, "noOfChildren");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenLessThanOrEqualTo(Short value) {
            addCriterion("NO_OF_CHILDREN <=", value, "noOfChildren");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenIn(List<Short> values) {
            addCriterion("NO_OF_CHILDREN in", values, "noOfChildren");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenNotIn(List<Short> values) {
            addCriterion("NO_OF_CHILDREN not in", values, "noOfChildren");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenBetween(Short value1, Short value2) {
            addCriterion("NO_OF_CHILDREN between", value1, value2, "noOfChildren");
            return (Criteria) this;
        }

        public Criteria andNoOfChildrenNotBetween(Short value1, Short value2) {
            addCriterion("NO_OF_CHILDREN not between", value1, value2, "noOfChildren");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("EMAIL is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("EMAIL is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("EMAIL =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("EMAIL <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("EMAIL >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("EMAIL >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("EMAIL <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("EMAIL <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("EMAIL like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("EMAIL not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("EMAIL in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("EMAIL not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("EMAIL between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("EMAIL not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andActiveFlagIsNull() {
            addCriterion("ACTIVE_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andActiveFlagIsNotNull() {
            addCriterion("ACTIVE_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andActiveFlagEqualTo(String value) {
            addCriterion("ACTIVE_FLAG =", value, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andActiveFlagNotEqualTo(String value) {
            addCriterion("ACTIVE_FLAG <>", value, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andActiveFlagGreaterThan(String value) {
            addCriterion("ACTIVE_FLAG >", value, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andActiveFlagGreaterThanOrEqualTo(String value) {
            addCriterion("ACTIVE_FLAG >=", value, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andActiveFlagLessThan(String value) {
            addCriterion("ACTIVE_FLAG <", value, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andActiveFlagLessThanOrEqualTo(String value) {
            addCriterion("ACTIVE_FLAG <=", value, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andActiveFlagLike(String value) {
            addCriterion("ACTIVE_FLAG like", value, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andActiveFlagNotLike(String value) {
            addCriterion("ACTIVE_FLAG not like", value, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andActiveFlagIn(List<String> values) {
            addCriterion("ACTIVE_FLAG in", values, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andActiveFlagNotIn(List<String> values) {
            addCriterion("ACTIVE_FLAG not in", values, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andActiveFlagBetween(String value1, String value2) {
            addCriterion("ACTIVE_FLAG between", value1, value2, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andActiveFlagNotBetween(String value1, String value2) {
            addCriterion("ACTIVE_FLAG not between", value1, value2, "activeFlag");
            return (Criteria) this;
        }

        public Criteria andLasteditDateIsNull() {
            addCriterion("LASTEDIT_DATE is null");
            return (Criteria) this;
        }

        public Criteria andLasteditDateIsNotNull() {
            addCriterion("LASTEDIT_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andLasteditDateEqualTo(Date value) {
            addCriterion("LASTEDIT_DATE =", value, "lasteditDate");
            return (Criteria) this;
        }

        public Criteria andLasteditDateNotEqualTo(Date value) {
            addCriterion("LASTEDIT_DATE <>", value, "lasteditDate");
            return (Criteria) this;
        }

        public Criteria andLasteditDateGreaterThan(Date value) {
            addCriterion("LASTEDIT_DATE >", value, "lasteditDate");
            return (Criteria) this;
        }

        public Criteria andLasteditDateGreaterThanOrEqualTo(Date value) {
            addCriterion("LASTEDIT_DATE >=", value, "lasteditDate");
            return (Criteria) this;
        }

        public Criteria andLasteditDateLessThan(Date value) {
            addCriterion("LASTEDIT_DATE <", value, "lasteditDate");
            return (Criteria) this;
        }

        public Criteria andLasteditDateLessThanOrEqualTo(Date value) {
            addCriterion("LASTEDIT_DATE <=", value, "lasteditDate");
            return (Criteria) this;
        }

        public Criteria andLasteditDateIn(List<Date> values) {
            addCriterion("LASTEDIT_DATE in", values, "lasteditDate");
            return (Criteria) this;
        }

        public Criteria andLasteditDateNotIn(List<Date> values) {
            addCriterion("LASTEDIT_DATE not in", values, "lasteditDate");
            return (Criteria) this;
        }

        public Criteria andLasteditDateBetween(Date value1, Date value2) {
            addCriterion("LASTEDIT_DATE between", value1, value2, "lasteditDate");
            return (Criteria) this;
        }

        public Criteria andLasteditDateNotBetween(Date value1, Date value2) {
            addCriterion("LASTEDIT_DATE not between", value1, value2, "lasteditDate");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpIsNull() {
            addCriterion("LTD_SELF_CONSUMP is null");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpIsNotNull() {
            addCriterion("LTD_SELF_CONSUMP is not null");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpEqualTo(BigDecimal value) {
            addCriterion("LTD_SELF_CONSUMP =", value, "ltdSelfConsump");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpNotEqualTo(BigDecimal value) {
            addCriterion("LTD_SELF_CONSUMP <>", value, "ltdSelfConsump");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpGreaterThan(BigDecimal value) {
            addCriterion("LTD_SELF_CONSUMP >", value, "ltdSelfConsump");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("LTD_SELF_CONSUMP >=", value, "ltdSelfConsump");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpLessThan(BigDecimal value) {
            addCriterion("LTD_SELF_CONSUMP <", value, "ltdSelfConsump");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpLessThanOrEqualTo(BigDecimal value) {
            addCriterion("LTD_SELF_CONSUMP <=", value, "ltdSelfConsump");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpIn(List<BigDecimal> values) {
            addCriterion("LTD_SELF_CONSUMP in", values, "ltdSelfConsump");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpNotIn(List<BigDecimal> values) {
            addCriterion("LTD_SELF_CONSUMP not in", values, "ltdSelfConsump");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LTD_SELF_CONSUMP between", value1, value2, "ltdSelfConsump");
            return (Criteria) this;
        }

        public Criteria andLtdSelfConsumpNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LTD_SELF_CONSUMP not between", value1, value2, "ltdSelfConsump");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpIsNull() {
            addCriterion("LTD_FAMILY_CONSUMP is null");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpIsNotNull() {
            addCriterion("LTD_FAMILY_CONSUMP is not null");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpEqualTo(BigDecimal value) {
            addCriterion("LTD_FAMILY_CONSUMP =", value, "ltdFamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpNotEqualTo(BigDecimal value) {
            addCriterion("LTD_FAMILY_CONSUMP <>", value, "ltdFamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpGreaterThan(BigDecimal value) {
            addCriterion("LTD_FAMILY_CONSUMP >", value, "ltdFamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("LTD_FAMILY_CONSUMP >=", value, "ltdFamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpLessThan(BigDecimal value) {
            addCriterion("LTD_FAMILY_CONSUMP <", value, "ltdFamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpLessThanOrEqualTo(BigDecimal value) {
            addCriterion("LTD_FAMILY_CONSUMP <=", value, "ltdFamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpIn(List<BigDecimal> values) {
            addCriterion("LTD_FAMILY_CONSUMP in", values, "ltdFamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpNotIn(List<BigDecimal> values) {
            addCriterion("LTD_FAMILY_CONSUMP not in", values, "ltdFamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LTD_FAMILY_CONSUMP between", value1, value2, "ltdFamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdFamilyConsumpNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LTD_FAMILY_CONSUMP not between", value1, value2, "ltdFamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpIsNull() {
            addCriterion("LTD_ALLFAMILY_CONSUMP is null");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpIsNotNull() {
            addCriterion("LTD_ALLFAMILY_CONSUMP is not null");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpEqualTo(BigDecimal value) {
            addCriterion("LTD_ALLFAMILY_CONSUMP =", value, "ltdAllfamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpNotEqualTo(BigDecimal value) {
            addCriterion("LTD_ALLFAMILY_CONSUMP <>", value, "ltdAllfamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpGreaterThan(BigDecimal value) {
            addCriterion("LTD_ALLFAMILY_CONSUMP >", value, "ltdAllfamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("LTD_ALLFAMILY_CONSUMP >=", value, "ltdAllfamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpLessThan(BigDecimal value) {
            addCriterion("LTD_ALLFAMILY_CONSUMP <", value, "ltdAllfamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpLessThanOrEqualTo(BigDecimal value) {
            addCriterion("LTD_ALLFAMILY_CONSUMP <=", value, "ltdAllfamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpIn(List<BigDecimal> values) {
            addCriterion("LTD_ALLFAMILY_CONSUMP in", values, "ltdAllfamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpNotIn(List<BigDecimal> values) {
            addCriterion("LTD_ALLFAMILY_CONSUMP not in", values, "ltdAllfamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LTD_ALLFAMILY_CONSUMP between", value1, value2, "ltdAllfamilyConsump");
            return (Criteria) this;
        }

        public Criteria andLtdAllfamilyConsumpNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LTD_ALLFAMILY_CONSUMP not between", value1, value2, "ltdAllfamilyConsump");
            return (Criteria) this;
        }

        public Criteria andUserCodeIsNull() {
            addCriterion("USER_CODE is null");
            return (Criteria) this;
        }

        public Criteria andUserCodeIsNotNull() {
            addCriterion("USER_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andUserCodeEqualTo(String value) {
            addCriterion("USER_CODE =", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotEqualTo(String value) {
            addCriterion("USER_CODE <>", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeGreaterThan(String value) {
            addCriterion("USER_CODE >", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeGreaterThanOrEqualTo(String value) {
            addCriterion("USER_CODE >=", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeLessThan(String value) {
            addCriterion("USER_CODE <", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeLessThanOrEqualTo(String value) {
            addCriterion("USER_CODE <=", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeLike(String value) {
            addCriterion("USER_CODE like", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotLike(String value) {
            addCriterion("USER_CODE not like", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeIn(List<String> values) {
            addCriterion("USER_CODE in", values, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotIn(List<String> values) {
            addCriterion("USER_CODE not in", values, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeBetween(String value1, String value2) {
            addCriterion("USER_CODE between", value1, value2, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotBetween(String value1, String value2) {
            addCriterion("USER_CODE not between", value1, value2, "userCode");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIsNull() {
            addCriterion("SPOUSE_EMP is null");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIsNotNull() {
            addCriterion("SPOUSE_EMP is not null");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpEqualTo(String value) {
            addCriterion("SPOUSE_EMP =", value, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpNotEqualTo(String value) {
            addCriterion("SPOUSE_EMP <>", value, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpGreaterThan(String value) {
            addCriterion("SPOUSE_EMP >", value, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpGreaterThanOrEqualTo(String value) {
            addCriterion("SPOUSE_EMP >=", value, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpLessThan(String value) {
            addCriterion("SPOUSE_EMP <", value, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpLessThanOrEqualTo(String value) {
            addCriterion("SPOUSE_EMP <=", value, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpLike(String value) {
            addCriterion("SPOUSE_EMP like", value, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpNotLike(String value) {
            addCriterion("SPOUSE_EMP not like", value, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIn(List<String> values) {
            addCriterion("SPOUSE_EMP in", values, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpNotIn(List<String> values) {
            addCriterion("SPOUSE_EMP not in", values, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpBetween(String value1, String value2) {
            addCriterion("SPOUSE_EMP between", value1, value2, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpNotBetween(String value1, String value2) {
            addCriterion("SPOUSE_EMP not between", value1, value2, "spouseEmp");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdIsNull() {
            addCriterion("SPOUSE_EMP_ID is null");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdIsNotNull() {
            addCriterion("SPOUSE_EMP_ID is not null");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdEqualTo(String value) {
            addCriterion("SPOUSE_EMP_ID =", value, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdNotEqualTo(String value) {
            addCriterion("SPOUSE_EMP_ID <>", value, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdGreaterThan(String value) {
            addCriterion("SPOUSE_EMP_ID >", value, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdGreaterThanOrEqualTo(String value) {
            addCriterion("SPOUSE_EMP_ID >=", value, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdLessThan(String value) {
            addCriterion("SPOUSE_EMP_ID <", value, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdLessThanOrEqualTo(String value) {
            addCriterion("SPOUSE_EMP_ID <=", value, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdLike(String value) {
            addCriterion("SPOUSE_EMP_ID like", value, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdNotLike(String value) {
            addCriterion("SPOUSE_EMP_ID not like", value, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdIn(List<String> values) {
            addCriterion("SPOUSE_EMP_ID in", values, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdNotIn(List<String> values) {
            addCriterion("SPOUSE_EMP_ID not in", values, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdBetween(String value1, String value2) {
            addCriterion("SPOUSE_EMP_ID between", value1, value2, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andSpouseEmpIdNotBetween(String value1, String value2) {
            addCriterion("SPOUSE_EMP_ID not between", value1, value2, "spouseEmpId");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeIsNull() {
            addCriterion("OFFICE_CODE is null");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeIsNotNull() {
            addCriterion("OFFICE_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeEqualTo(String value) {
            addCriterion("OFFICE_CODE =", value, "officeCode");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeNotEqualTo(String value) {
            addCriterion("OFFICE_CODE <>", value, "officeCode");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeGreaterThan(String value) {
            addCriterion("OFFICE_CODE >", value, "officeCode");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeGreaterThanOrEqualTo(String value) {
            addCriterion("OFFICE_CODE >=", value, "officeCode");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeLessThan(String value) {
            addCriterion("OFFICE_CODE <", value, "officeCode");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeLessThanOrEqualTo(String value) {
            addCriterion("OFFICE_CODE <=", value, "officeCode");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeLike(String value) {
            addCriterion("OFFICE_CODE like", value, "officeCode");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeNotLike(String value) {
            addCriterion("OFFICE_CODE not like", value, "officeCode");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeIn(List<String> values) {
            addCriterion("OFFICE_CODE in", values, "officeCode");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeNotIn(List<String> values) {
            addCriterion("OFFICE_CODE not in", values, "officeCode");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeBetween(String value1, String value2) {
            addCriterion("OFFICE_CODE between", value1, value2, "officeCode");
            return (Criteria) this;
        }

        public Criteria andOfficeCodeNotBetween(String value1, String value2) {
            addCriterion("OFFICE_CODE not between", value1, value2, "officeCode");
            return (Criteria) this;
        }

        public Criteria andNpVisitIsNull() {
            addCriterion("NP_VISIT is null");
            return (Criteria) this;
        }

        public Criteria andNpVisitIsNotNull() {
            addCriterion("NP_VISIT is not null");
            return (Criteria) this;
        }

        public Criteria andNpVisitEqualTo(Short value) {
            addCriterion("NP_VISIT =", value, "npVisit");
            return (Criteria) this;
        }

        public Criteria andNpVisitNotEqualTo(Short value) {
            addCriterion("NP_VISIT <>", value, "npVisit");
            return (Criteria) this;
        }

        public Criteria andNpVisitGreaterThan(Short value) {
            addCriterion("NP_VISIT >", value, "npVisit");
            return (Criteria) this;
        }

        public Criteria andNpVisitGreaterThanOrEqualTo(Short value) {
            addCriterion("NP_VISIT >=", value, "npVisit");
            return (Criteria) this;
        }

        public Criteria andNpVisitLessThan(Short value) {
            addCriterion("NP_VISIT <", value, "npVisit");
            return (Criteria) this;
        }

        public Criteria andNpVisitLessThanOrEqualTo(Short value) {
            addCriterion("NP_VISIT <=", value, "npVisit");
            return (Criteria) this;
        }

        public Criteria andNpVisitIn(List<Short> values) {
            addCriterion("NP_VISIT in", values, "npVisit");
            return (Criteria) this;
        }

        public Criteria andNpVisitNotIn(List<Short> values) {
            addCriterion("NP_VISIT not in", values, "npVisit");
            return (Criteria) this;
        }

        public Criteria andNpVisitBetween(Short value1, Short value2) {
            addCriterion("NP_VISIT between", value1, value2, "npVisit");
            return (Criteria) this;
        }

        public Criteria andNpVisitNotBetween(Short value1, Short value2) {
            addCriterion("NP_VISIT not between", value1, value2, "npVisit");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalIsNull() {
            addCriterion("OPBAL_DENTAL is null");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalIsNotNull() {
            addCriterion("OPBAL_DENTAL is not null");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalEqualTo(BigDecimal value) {
            addCriterion("OPBAL_DENTAL =", value, "opbalDental");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalNotEqualTo(BigDecimal value) {
            addCriterion("OPBAL_DENTAL <>", value, "opbalDental");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalGreaterThan(BigDecimal value) {
            addCriterion("OPBAL_DENTAL >", value, "opbalDental");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("OPBAL_DENTAL >=", value, "opbalDental");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalLessThan(BigDecimal value) {
            addCriterion("OPBAL_DENTAL <", value, "opbalDental");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("OPBAL_DENTAL <=", value, "opbalDental");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalIn(List<BigDecimal> values) {
            addCriterion("OPBAL_DENTAL in", values, "opbalDental");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalNotIn(List<BigDecimal> values) {
            addCriterion("OPBAL_DENTAL not in", values, "opbalDental");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OPBAL_DENTAL between", value1, value2, "opbalDental");
            return (Criteria) this;
        }

        public Criteria andOpbalDentalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OPBAL_DENTAL not between", value1, value2, "opbalDental");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeIsNull() {
            addCriterion("TM_EMP_CODE is null");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeIsNotNull() {
            addCriterion("TM_EMP_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeEqualTo(String value) {
            addCriterion("TM_EMP_CODE =", value, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeNotEqualTo(String value) {
            addCriterion("TM_EMP_CODE <>", value, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeGreaterThan(String value) {
            addCriterion("TM_EMP_CODE >", value, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeGreaterThanOrEqualTo(String value) {
            addCriterion("TM_EMP_CODE >=", value, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeLessThan(String value) {
            addCriterion("TM_EMP_CODE <", value, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeLessThanOrEqualTo(String value) {
            addCriterion("TM_EMP_CODE <=", value, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeLike(String value) {
            addCriterion("TM_EMP_CODE like", value, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeNotLike(String value) {
            addCriterion("TM_EMP_CODE not like", value, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeIn(List<String> values) {
            addCriterion("TM_EMP_CODE in", values, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeNotIn(List<String> values) {
            addCriterion("TM_EMP_CODE not in", values, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeBetween(String value1, String value2) {
            addCriterion("TM_EMP_CODE between", value1, value2, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andTmEmpCodeNotBetween(String value1, String value2) {
            addCriterion("TM_EMP_CODE not between", value1, value2, "tmEmpCode");
            return (Criteria) this;
        }

        public Criteria andWardClassIsNull() {
            addCriterion("WARD_CLASS is null");
            return (Criteria) this;
        }

        public Criteria andWardClassIsNotNull() {
            addCriterion("WARD_CLASS is not null");
            return (Criteria) this;
        }

        public Criteria andWardClassEqualTo(String value) {
            addCriterion("WARD_CLASS =", value, "wardClass");
            return (Criteria) this;
        }

        public Criteria andWardClassNotEqualTo(String value) {
            addCriterion("WARD_CLASS <>", value, "wardClass");
            return (Criteria) this;
        }

        public Criteria andWardClassGreaterThan(String value) {
            addCriterion("WARD_CLASS >", value, "wardClass");
            return (Criteria) this;
        }

        public Criteria andWardClassGreaterThanOrEqualTo(String value) {
            addCriterion("WARD_CLASS >=", value, "wardClass");
            return (Criteria) this;
        }

        public Criteria andWardClassLessThan(String value) {
            addCriterion("WARD_CLASS <", value, "wardClass");
            return (Criteria) this;
        }

        public Criteria andWardClassLessThanOrEqualTo(String value) {
            addCriterion("WARD_CLASS <=", value, "wardClass");
            return (Criteria) this;
        }

        public Criteria andWardClassLike(String value) {
            addCriterion("WARD_CLASS like", value, "wardClass");
            return (Criteria) this;
        }

        public Criteria andWardClassNotLike(String value) {
            addCriterion("WARD_CLASS not like", value, "wardClass");
            return (Criteria) this;
        }

        public Criteria andWardClassIn(List<String> values) {
            addCriterion("WARD_CLASS in", values, "wardClass");
            return (Criteria) this;
        }

        public Criteria andWardClassNotIn(List<String> values) {
            addCriterion("WARD_CLASS not in", values, "wardClass");
            return (Criteria) this;
        }

        public Criteria andWardClassBetween(String value1, String value2) {
            addCriterion("WARD_CLASS between", value1, value2, "wardClass");
            return (Criteria) this;
        }

        public Criteria andWardClassNotBetween(String value1, String value2) {
            addCriterion("WARD_CLASS not between", value1, value2, "wardClass");
            return (Criteria) this;
        }

        public Criteria andPayorCodeIsNull() {
            addCriterion("PAYOR_CODE is null");
            return (Criteria) this;
        }

        public Criteria andPayorCodeIsNotNull() {
            addCriterion("PAYOR_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andPayorCodeEqualTo(String value) {
            addCriterion("PAYOR_CODE =", value, "payorCode");
            return (Criteria) this;
        }

        public Criteria andPayorCodeNotEqualTo(String value) {
            addCriterion("PAYOR_CODE <>", value, "payorCode");
            return (Criteria) this;
        }

        public Criteria andPayorCodeGreaterThan(String value) {
            addCriterion("PAYOR_CODE >", value, "payorCode");
            return (Criteria) this;
        }

        public Criteria andPayorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("PAYOR_CODE >=", value, "payorCode");
            return (Criteria) this;
        }

        public Criteria andPayorCodeLessThan(String value) {
            addCriterion("PAYOR_CODE <", value, "payorCode");
            return (Criteria) this;
        }

        public Criteria andPayorCodeLessThanOrEqualTo(String value) {
            addCriterion("PAYOR_CODE <=", value, "payorCode");
            return (Criteria) this;
        }

        public Criteria andPayorCodeLike(String value) {
            addCriterion("PAYOR_CODE like", value, "payorCode");
            return (Criteria) this;
        }

        public Criteria andPayorCodeNotLike(String value) {
            addCriterion("PAYOR_CODE not like", value, "payorCode");
            return (Criteria) this;
        }

        public Criteria andPayorCodeIn(List<String> values) {
            addCriterion("PAYOR_CODE in", values, "payorCode");
            return (Criteria) this;
        }

        public Criteria andPayorCodeNotIn(List<String> values) {
            addCriterion("PAYOR_CODE not in", values, "payorCode");
            return (Criteria) this;
        }

        public Criteria andPayorCodeBetween(String value1, String value2) {
            addCriterion("PAYOR_CODE between", value1, value2, "payorCode");
            return (Criteria) this;
        }

        public Criteria andPayorCodeNotBetween(String value1, String value2) {
            addCriterion("PAYOR_CODE not between", value1, value2, "payorCode");
            return (Criteria) this;
        }

        public Criteria andLastNameIsNull() {
            addCriterion("LAST_NAME is null");
            return (Criteria) this;
        }

        public Criteria andLastNameIsNotNull() {
            addCriterion("LAST_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andLastNameEqualTo(String value) {
            addCriterion("LAST_NAME =", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameNotEqualTo(String value) {
            addCriterion("LAST_NAME <>", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameGreaterThan(String value) {
            addCriterion("LAST_NAME >", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameGreaterThanOrEqualTo(String value) {
            addCriterion("LAST_NAME >=", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameLessThan(String value) {
            addCriterion("LAST_NAME <", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameLessThanOrEqualTo(String value) {
            addCriterion("LAST_NAME <=", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameLike(String value) {
            addCriterion("LAST_NAME like", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameNotLike(String value) {
            addCriterion("LAST_NAME not like", value, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameIn(List<String> values) {
            addCriterion("LAST_NAME in", values, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameNotIn(List<String> values) {
            addCriterion("LAST_NAME not in", values, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameBetween(String value1, String value2) {
            addCriterion("LAST_NAME between", value1, value2, "lastName");
            return (Criteria) this;
        }

        public Criteria andLastNameNotBetween(String value1, String value2) {
            addCriterion("LAST_NAME not between", value1, value2, "lastName");
            return (Criteria) this;
        }

        public Criteria andFirstNameIsNull() {
            addCriterion("FIRST_NAME is null");
            return (Criteria) this;
        }

        public Criteria andFirstNameIsNotNull() {
            addCriterion("FIRST_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andFirstNameEqualTo(String value) {
            addCriterion("FIRST_NAME =", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameNotEqualTo(String value) {
            addCriterion("FIRST_NAME <>", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameGreaterThan(String value) {
            addCriterion("FIRST_NAME >", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameGreaterThanOrEqualTo(String value) {
            addCriterion("FIRST_NAME >=", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameLessThan(String value) {
            addCriterion("FIRST_NAME <", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameLessThanOrEqualTo(String value) {
            addCriterion("FIRST_NAME <=", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameLike(String value) {
            addCriterion("FIRST_NAME like", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameNotLike(String value) {
            addCriterion("FIRST_NAME not like", value, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameIn(List<String> values) {
            addCriterion("FIRST_NAME in", values, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameNotIn(List<String> values) {
            addCriterion("FIRST_NAME not in", values, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameBetween(String value1, String value2) {
            addCriterion("FIRST_NAME between", value1, value2, "firstName");
            return (Criteria) this;
        }

        public Criteria andFirstNameNotBetween(String value1, String value2) {
            addCriterion("FIRST_NAME not between", value1, value2, "firstName");
            return (Criteria) this;
        }

        public Criteria andArDuedateIsNull() {
            addCriterion("AR_DUEDATE is null");
            return (Criteria) this;
        }

        public Criteria andArDuedateIsNotNull() {
            addCriterion("AR_DUEDATE is not null");
            return (Criteria) this;
        }

        public Criteria andArDuedateEqualTo(Date value) {
            addCriterion("AR_DUEDATE =", value, "arDuedate");
            return (Criteria) this;
        }

        public Criteria andArDuedateNotEqualTo(Date value) {
            addCriterion("AR_DUEDATE <>", value, "arDuedate");
            return (Criteria) this;
        }

        public Criteria andArDuedateGreaterThan(Date value) {
            addCriterion("AR_DUEDATE >", value, "arDuedate");
            return (Criteria) this;
        }

        public Criteria andArDuedateGreaterThanOrEqualTo(Date value) {
            addCriterion("AR_DUEDATE >=", value, "arDuedate");
            return (Criteria) this;
        }

        public Criteria andArDuedateLessThan(Date value) {
            addCriterion("AR_DUEDATE <", value, "arDuedate");
            return (Criteria) this;
        }

        public Criteria andArDuedateLessThanOrEqualTo(Date value) {
            addCriterion("AR_DUEDATE <=", value, "arDuedate");
            return (Criteria) this;
        }

        public Criteria andArDuedateIn(List<Date> values) {
            addCriterion("AR_DUEDATE in", values, "arDuedate");
            return (Criteria) this;
        }

        public Criteria andArDuedateNotIn(List<Date> values) {
            addCriterion("AR_DUEDATE not in", values, "arDuedate");
            return (Criteria) this;
        }

        public Criteria andArDuedateBetween(Date value1, Date value2) {
            addCriterion("AR_DUEDATE between", value1, value2, "arDuedate");
            return (Criteria) this;
        }

        public Criteria andArDuedateNotBetween(Date value1, Date value2) {
            addCriterion("AR_DUEDATE not between", value1, value2, "arDuedate");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNull() {
            addCriterion("EMPLOYEE_ID is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNotNull() {
            addCriterion("EMPLOYEE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdEqualTo(String value) {
            addCriterion("EMPLOYEE_ID =", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotEqualTo(String value) {
            addCriterion("EMPLOYEE_ID <>", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThan(String value) {
            addCriterion("EMPLOYEE_ID >", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThanOrEqualTo(String value) {
            addCriterion("EMPLOYEE_ID >=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThan(String value) {
            addCriterion("EMPLOYEE_ID <", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThanOrEqualTo(String value) {
            addCriterion("EMPLOYEE_ID <=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLike(String value) {
            addCriterion("EMPLOYEE_ID like", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotLike(String value) {
            addCriterion("EMPLOYEE_ID not like", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIn(List<String> values) {
            addCriterion("EMPLOYEE_ID in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotIn(List<String> values) {
            addCriterion("EMPLOYEE_ID not in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdBetween(String value1, String value2) {
            addCriterion("EMPLOYEE_ID between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotBetween(String value1, String value2) {
            addCriterion("EMPLOYEE_ID not between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmpNameIsNull() {
            addCriterion("EMP_NAME is null");
            return (Criteria) this;
        }

        public Criteria andEmpNameIsNotNull() {
            addCriterion("EMP_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andEmpNameEqualTo(Object value) {
            addCriterion("EMP_NAME =", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameNotEqualTo(Object value) {
            addCriterion("EMP_NAME <>", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameGreaterThan(Object value) {
            addCriterion("EMP_NAME >", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameGreaterThanOrEqualTo(Object value) {
            addCriterion("EMP_NAME >=", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameLessThan(Object value) {
            addCriterion("EMP_NAME <", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameLessThanOrEqualTo(Object value) {
            addCriterion("EMP_NAME <=", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameIn(List<Object> values) {
            addCriterion("EMP_NAME in", values, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameNotIn(List<Object> values) {
            addCriterion("EMP_NAME not in", values, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameBetween(Object value1, Object value2) {
            addCriterion("EMP_NAME between", value1, value2, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameNotBetween(Object value1, Object value2) {
            addCriterion("EMP_NAME not between", value1, value2, "empName");
            return (Criteria) this;
        }

        public Criteria andOldIcIsNull() {
            addCriterion("OLD_IC is null");
            return (Criteria) this;
        }

        public Criteria andOldIcIsNotNull() {
            addCriterion("OLD_IC is not null");
            return (Criteria) this;
        }

        public Criteria andOldIcEqualTo(String value) {
            addCriterion("OLD_IC =", value, "oldIc");
            return (Criteria) this;
        }

        public Criteria andOldIcNotEqualTo(String value) {
            addCriterion("OLD_IC <>", value, "oldIc");
            return (Criteria) this;
        }

        public Criteria andOldIcGreaterThan(String value) {
            addCriterion("OLD_IC >", value, "oldIc");
            return (Criteria) this;
        }

        public Criteria andOldIcGreaterThanOrEqualTo(String value) {
            addCriterion("OLD_IC >=", value, "oldIc");
            return (Criteria) this;
        }

        public Criteria andOldIcLessThan(String value) {
            addCriterion("OLD_IC <", value, "oldIc");
            return (Criteria) this;
        }

        public Criteria andOldIcLessThanOrEqualTo(String value) {
            addCriterion("OLD_IC <=", value, "oldIc");
            return (Criteria) this;
        }

        public Criteria andOldIcLike(String value) {
            addCriterion("OLD_IC like", value, "oldIc");
            return (Criteria) this;
        }

        public Criteria andOldIcNotLike(String value) {
            addCriterion("OLD_IC not like", value, "oldIc");
            return (Criteria) this;
        }

        public Criteria andOldIcIn(List<String> values) {
            addCriterion("OLD_IC in", values, "oldIc");
            return (Criteria) this;
        }

        public Criteria andOldIcNotIn(List<String> values) {
            addCriterion("OLD_IC not in", values, "oldIc");
            return (Criteria) this;
        }

        public Criteria andOldIcBetween(String value1, String value2) {
            addCriterion("OLD_IC between", value1, value2, "oldIc");
            return (Criteria) this;
        }

        public Criteria andOldIcNotBetween(String value1, String value2) {
            addCriterion("OLD_IC not between", value1, value2, "oldIc");
            return (Criteria) this;
        }

        public Criteria andNewIcIsNull() {
            addCriterion("NEW_IC is null");
            return (Criteria) this;
        }

        public Criteria andNewIcIsNotNull() {
            addCriterion("NEW_IC is not null");
            return (Criteria) this;
        }

        public Criteria andNewIcEqualTo(String value) {
            addCriterion("NEW_IC =", value, "newIc");
            return (Criteria) this;
        }

        public Criteria andNewIcNotEqualTo(String value) {
            addCriterion("NEW_IC <>", value, "newIc");
            return (Criteria) this;
        }

        public Criteria andNewIcGreaterThan(String value) {
            addCriterion("NEW_IC >", value, "newIc");
            return (Criteria) this;
        }

        public Criteria andNewIcGreaterThanOrEqualTo(String value) {
            addCriterion("NEW_IC >=", value, "newIc");
            return (Criteria) this;
        }

        public Criteria andNewIcLessThan(String value) {
            addCriterion("NEW_IC <", value, "newIc");
            return (Criteria) this;
        }

        public Criteria andNewIcLessThanOrEqualTo(String value) {
            addCriterion("NEW_IC <=", value, "newIc");
            return (Criteria) this;
        }

        public Criteria andNewIcLike(String value) {
            addCriterion("NEW_IC like", value, "newIc");
            return (Criteria) this;
        }

        public Criteria andNewIcNotLike(String value) {
            addCriterion("NEW_IC not like", value, "newIc");
            return (Criteria) this;
        }

        public Criteria andNewIcIn(List<String> values) {
            addCriterion("NEW_IC in", values, "newIc");
            return (Criteria) this;
        }

        public Criteria andNewIcNotIn(List<String> values) {
            addCriterion("NEW_IC not in", values, "newIc");
            return (Criteria) this;
        }

        public Criteria andNewIcBetween(String value1, String value2) {
            addCriterion("NEW_IC between", value1, value2, "newIc");
            return (Criteria) this;
        }

        public Criteria andNewIcNotBetween(String value1, String value2) {
            addCriterion("NEW_IC not between", value1, value2, "newIc");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthIsNull() {
            addCriterion("DATE_OF_BIRTH is null");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthIsNotNull() {
            addCriterion("DATE_OF_BIRTH is not null");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthEqualTo(Date value) {
            addCriterion("DATE_OF_BIRTH =", value, "dateOfBirth");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthNotEqualTo(Date value) {
            addCriterion("DATE_OF_BIRTH <>", value, "dateOfBirth");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthGreaterThan(Date value) {
            addCriterion("DATE_OF_BIRTH >", value, "dateOfBirth");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthGreaterThanOrEqualTo(Date value) {
            addCriterion("DATE_OF_BIRTH >=", value, "dateOfBirth");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthLessThan(Date value) {
            addCriterion("DATE_OF_BIRTH <", value, "dateOfBirth");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthLessThanOrEqualTo(Date value) {
            addCriterion("DATE_OF_BIRTH <=", value, "dateOfBirth");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthIn(List<Date> values) {
            addCriterion("DATE_OF_BIRTH in", values, "dateOfBirth");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthNotIn(List<Date> values) {
            addCriterion("DATE_OF_BIRTH not in", values, "dateOfBirth");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthBetween(Date value1, Date value2) {
            addCriterion("DATE_OF_BIRTH between", value1, value2, "dateOfBirth");
            return (Criteria) this;
        }

        public Criteria andDateOfBirthNotBetween(Date value1, Date value2) {
            addCriterion("DATE_OF_BIRTH not between", value1, value2, "dateOfBirth");
            return (Criteria) this;
        }

        public Criteria andBirthCertIsNull() {
            addCriterion("BIRTH_CERT is null");
            return (Criteria) this;
        }

        public Criteria andBirthCertIsNotNull() {
            addCriterion("BIRTH_CERT is not null");
            return (Criteria) this;
        }

        public Criteria andBirthCertEqualTo(String value) {
            addCriterion("BIRTH_CERT =", value, "birthCert");
            return (Criteria) this;
        }

        public Criteria andBirthCertNotEqualTo(String value) {
            addCriterion("BIRTH_CERT <>", value, "birthCert");
            return (Criteria) this;
        }

        public Criteria andBirthCertGreaterThan(String value) {
            addCriterion("BIRTH_CERT >", value, "birthCert");
            return (Criteria) this;
        }

        public Criteria andBirthCertGreaterThanOrEqualTo(String value) {
            addCriterion("BIRTH_CERT >=", value, "birthCert");
            return (Criteria) this;
        }

        public Criteria andBirthCertLessThan(String value) {
            addCriterion("BIRTH_CERT <", value, "birthCert");
            return (Criteria) this;
        }

        public Criteria andBirthCertLessThanOrEqualTo(String value) {
            addCriterion("BIRTH_CERT <=", value, "birthCert");
            return (Criteria) this;
        }

        public Criteria andBirthCertLike(String value) {
            addCriterion("BIRTH_CERT like", value, "birthCert");
            return (Criteria) this;
        }

        public Criteria andBirthCertNotLike(String value) {
            addCriterion("BIRTH_CERT not like", value, "birthCert");
            return (Criteria) this;
        }

        public Criteria andBirthCertIn(List<String> values) {
            addCriterion("BIRTH_CERT in", values, "birthCert");
            return (Criteria) this;
        }

        public Criteria andBirthCertNotIn(List<String> values) {
            addCriterion("BIRTH_CERT not in", values, "birthCert");
            return (Criteria) this;
        }

        public Criteria andBirthCertBetween(String value1, String value2) {
            addCriterion("BIRTH_CERT between", value1, value2, "birthCert");
            return (Criteria) this;
        }

        public Criteria andBirthCertNotBetween(String value1, String value2) {
            addCriterion("BIRTH_CERT not between", value1, value2, "birthCert");
            return (Criteria) this;
        }

        public Criteria andPassportNoIsNull() {
            addCriterion("PASSPORT_NO is null");
            return (Criteria) this;
        }

        public Criteria andPassportNoIsNotNull() {
            addCriterion("PASSPORT_NO is not null");
            return (Criteria) this;
        }

        public Criteria andPassportNoEqualTo(String value) {
            addCriterion("PASSPORT_NO =", value, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPassportNoNotEqualTo(String value) {
            addCriterion("PASSPORT_NO <>", value, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPassportNoGreaterThan(String value) {
            addCriterion("PASSPORT_NO >", value, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPassportNoGreaterThanOrEqualTo(String value) {
            addCriterion("PASSPORT_NO >=", value, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPassportNoLessThan(String value) {
            addCriterion("PASSPORT_NO <", value, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPassportNoLessThanOrEqualTo(String value) {
            addCriterion("PASSPORT_NO <=", value, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPassportNoLike(String value) {
            addCriterion("PASSPORT_NO like", value, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPassportNoNotLike(String value) {
            addCriterion("PASSPORT_NO not like", value, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPassportNoIn(List<String> values) {
            addCriterion("PASSPORT_NO in", values, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPassportNoNotIn(List<String> values) {
            addCriterion("PASSPORT_NO not in", values, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPassportNoBetween(String value1, String value2) {
            addCriterion("PASSPORT_NO between", value1, value2, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPassportNoNotBetween(String value1, String value2) {
            addCriterion("PASSPORT_NO not between", value1, value2, "passportNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoIsNull() {
            addCriterion("POLICY_NO is null");
            return (Criteria) this;
        }

        public Criteria andPolicyNoIsNotNull() {
            addCriterion("POLICY_NO is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyNoEqualTo(String value) {
            addCriterion("POLICY_NO =", value, "policyNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoNotEqualTo(String value) {
            addCriterion("POLICY_NO <>", value, "policyNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoGreaterThan(String value) {
            addCriterion("POLICY_NO >", value, "policyNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoGreaterThanOrEqualTo(String value) {
            addCriterion("POLICY_NO >=", value, "policyNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoLessThan(String value) {
            addCriterion("POLICY_NO <", value, "policyNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoLessThanOrEqualTo(String value) {
            addCriterion("POLICY_NO <=", value, "policyNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoLike(String value) {
            addCriterion("POLICY_NO like", value, "policyNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoNotLike(String value) {
            addCriterion("POLICY_NO not like", value, "policyNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoIn(List<String> values) {
            addCriterion("POLICY_NO in", values, "policyNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoNotIn(List<String> values) {
            addCriterion("POLICY_NO not in", values, "policyNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoBetween(String value1, String value2) {
            addCriterion("POLICY_NO between", value1, value2, "policyNo");
            return (Criteria) this;
        }

        public Criteria andPolicyNoNotBetween(String value1, String value2) {
            addCriterion("POLICY_NO not between", value1, value2, "policyNo");
            return (Criteria) this;
        }

        public Criteria andContractNoIsNull() {
            addCriterion("CONTRACT_NO is null");
            return (Criteria) this;
        }

        public Criteria andContractNoIsNotNull() {
            addCriterion("CONTRACT_NO is not null");
            return (Criteria) this;
        }

        public Criteria andContractNoEqualTo(String value) {
            addCriterion("CONTRACT_NO =", value, "contractNo");
            return (Criteria) this;
        }

        public Criteria andContractNoNotEqualTo(String value) {
            addCriterion("CONTRACT_NO <>", value, "contractNo");
            return (Criteria) this;
        }

        public Criteria andContractNoGreaterThan(String value) {
            addCriterion("CONTRACT_NO >", value, "contractNo");
            return (Criteria) this;
        }

        public Criteria andContractNoGreaterThanOrEqualTo(String value) {
            addCriterion("CONTRACT_NO >=", value, "contractNo");
            return (Criteria) this;
        }

        public Criteria andContractNoLessThan(String value) {
            addCriterion("CONTRACT_NO <", value, "contractNo");
            return (Criteria) this;
        }

        public Criteria andContractNoLessThanOrEqualTo(String value) {
            addCriterion("CONTRACT_NO <=", value, "contractNo");
            return (Criteria) this;
        }

        public Criteria andContractNoLike(String value) {
            addCriterion("CONTRACT_NO like", value, "contractNo");
            return (Criteria) this;
        }

        public Criteria andContractNoNotLike(String value) {
            addCriterion("CONTRACT_NO not like", value, "contractNo");
            return (Criteria) this;
        }

        public Criteria andContractNoIn(List<String> values) {
            addCriterion("CONTRACT_NO in", values, "contractNo");
            return (Criteria) this;
        }

        public Criteria andContractNoNotIn(List<String> values) {
            addCriterion("CONTRACT_NO not in", values, "contractNo");
            return (Criteria) this;
        }

        public Criteria andContractNoBetween(String value1, String value2) {
            addCriterion("CONTRACT_NO between", value1, value2, "contractNo");
            return (Criteria) this;
        }

        public Criteria andContractNoNotBetween(String value1, String value2) {
            addCriterion("CONTRACT_NO not between", value1, value2, "contractNo");
            return (Criteria) this;
        }

        public Criteria andCardNoIsNull() {
            addCriterion("CARD_NO is null");
            return (Criteria) this;
        }

        public Criteria andCardNoIsNotNull() {
            addCriterion("CARD_NO is not null");
            return (Criteria) this;
        }

        public Criteria andCardNoEqualTo(BigDecimal value) {
            addCriterion("CARD_NO =", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoNotEqualTo(BigDecimal value) {
            addCriterion("CARD_NO <>", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoGreaterThan(BigDecimal value) {
            addCriterion("CARD_NO >", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("CARD_NO >=", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoLessThan(BigDecimal value) {
            addCriterion("CARD_NO <", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoLessThanOrEqualTo(BigDecimal value) {
            addCriterion("CARD_NO <=", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoIn(List<BigDecimal> values) {
            addCriterion("CARD_NO in", values, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoNotIn(List<BigDecimal> values) {
            addCriterion("CARD_NO not in", values, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CARD_NO between", value1, value2, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CARD_NO not between", value1, value2, "cardNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoIsNull() {
            addCriterion("STAFF_NO is null");
            return (Criteria) this;
        }

        public Criteria andStaffNoIsNotNull() {
            addCriterion("STAFF_NO is not null");
            return (Criteria) this;
        }

        public Criteria andStaffNoEqualTo(String value) {
            addCriterion("STAFF_NO =", value, "staffNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoNotEqualTo(String value) {
            addCriterion("STAFF_NO <>", value, "staffNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoGreaterThan(String value) {
            addCriterion("STAFF_NO >", value, "staffNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoGreaterThanOrEqualTo(String value) {
            addCriterion("STAFF_NO >=", value, "staffNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoLessThan(String value) {
            addCriterion("STAFF_NO <", value, "staffNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoLessThanOrEqualTo(String value) {
            addCriterion("STAFF_NO <=", value, "staffNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoLike(String value) {
            addCriterion("STAFF_NO like", value, "staffNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoNotLike(String value) {
            addCriterion("STAFF_NO not like", value, "staffNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoIn(List<String> values) {
            addCriterion("STAFF_NO in", values, "staffNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoNotIn(List<String> values) {
            addCriterion("STAFF_NO not in", values, "staffNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoBetween(String value1, String value2) {
            addCriterion("STAFF_NO between", value1, value2, "staffNo");
            return (Criteria) this;
        }

        public Criteria andStaffNoNotBetween(String value1, String value2) {
            addCriterion("STAFF_NO not between", value1, value2, "staffNo");
            return (Criteria) this;
        }

        public Criteria andGenderIsNull() {
            addCriterion("GENDER is null");
            return (Criteria) this;
        }

        public Criteria andGenderIsNotNull() {
            addCriterion("GENDER is not null");
            return (Criteria) this;
        }

        public Criteria andGenderEqualTo(String value) {
            addCriterion("GENDER =", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotEqualTo(String value) {
            addCriterion("GENDER <>", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThan(String value) {
            addCriterion("GENDER >", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderGreaterThanOrEqualTo(String value) {
            addCriterion("GENDER >=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThan(String value) {
            addCriterion("GENDER <", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLessThanOrEqualTo(String value) {
            addCriterion("GENDER <=", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderLike(String value) {
            addCriterion("GENDER like", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotLike(String value) {
            addCriterion("GENDER not like", value, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderIn(List<String> values) {
            addCriterion("GENDER in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotIn(List<String> values) {
            addCriterion("GENDER not in", values, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderBetween(String value1, String value2) {
            addCriterion("GENDER between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andGenderNotBetween(String value1, String value2) {
            addCriterion("GENDER not between", value1, value2, "gender");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusIsNull() {
            addCriterion("MARITAL_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusIsNotNull() {
            addCriterion("MARITAL_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusEqualTo(String value) {
            addCriterion("MARITAL_STATUS =", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusNotEqualTo(String value) {
            addCriterion("MARITAL_STATUS <>", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusGreaterThan(String value) {
            addCriterion("MARITAL_STATUS >", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusGreaterThanOrEqualTo(String value) {
            addCriterion("MARITAL_STATUS >=", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusLessThan(String value) {
            addCriterion("MARITAL_STATUS <", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusLessThanOrEqualTo(String value) {
            addCriterion("MARITAL_STATUS <=", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusLike(String value) {
            addCriterion("MARITAL_STATUS like", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusNotLike(String value) {
            addCriterion("MARITAL_STATUS not like", value, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusIn(List<String> values) {
            addCriterion("MARITAL_STATUS in", values, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusNotIn(List<String> values) {
            addCriterion("MARITAL_STATUS not in", values, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusBetween(String value1, String value2) {
            addCriterion("MARITAL_STATUS between", value1, value2, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andMaritalStatusNotBetween(String value1, String value2) {
            addCriterion("MARITAL_STATUS not between", value1, value2, "maritalStatus");
            return (Criteria) this;
        }

        public Criteria andEthnicIdIsNull() {
            addCriterion("ETHNIC_ID is null");
            return (Criteria) this;
        }

        public Criteria andEthnicIdIsNotNull() {
            addCriterion("ETHNIC_ID is not null");
            return (Criteria) this;
        }

        public Criteria andEthnicIdEqualTo(Short value) {
            addCriterion("ETHNIC_ID =", value, "ethnicId");
            return (Criteria) this;
        }

        public Criteria andEthnicIdNotEqualTo(Short value) {
            addCriterion("ETHNIC_ID <>", value, "ethnicId");
            return (Criteria) this;
        }

        public Criteria andEthnicIdGreaterThan(Short value) {
            addCriterion("ETHNIC_ID >", value, "ethnicId");
            return (Criteria) this;
        }

        public Criteria andEthnicIdGreaterThanOrEqualTo(Short value) {
            addCriterion("ETHNIC_ID >=", value, "ethnicId");
            return (Criteria) this;
        }

        public Criteria andEthnicIdLessThan(Short value) {
            addCriterion("ETHNIC_ID <", value, "ethnicId");
            return (Criteria) this;
        }

        public Criteria andEthnicIdLessThanOrEqualTo(Short value) {
            addCriterion("ETHNIC_ID <=", value, "ethnicId");
            return (Criteria) this;
        }

        public Criteria andEthnicIdIn(List<Short> values) {
            addCriterion("ETHNIC_ID in", values, "ethnicId");
            return (Criteria) this;
        }

        public Criteria andEthnicIdNotIn(List<Short> values) {
            addCriterion("ETHNIC_ID not in", values, "ethnicId");
            return (Criteria) this;
        }

        public Criteria andEthnicIdBetween(Short value1, Short value2) {
            addCriterion("ETHNIC_ID between", value1, value2, "ethnicId");
            return (Criteria) this;
        }

        public Criteria andEthnicIdNotBetween(Short value1, Short value2) {
            addCriterion("ETHNIC_ID not between", value1, value2, "ethnicId");
            return (Criteria) this;
        }

        public Criteria andNationalityIsNull() {
            addCriterion("NATIONALITY is null");
            return (Criteria) this;
        }

        public Criteria andNationalityIsNotNull() {
            addCriterion("NATIONALITY is not null");
            return (Criteria) this;
        }

        public Criteria andNationalityEqualTo(String value) {
            addCriterion("NATIONALITY =", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotEqualTo(String value) {
            addCriterion("NATIONALITY <>", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityGreaterThan(String value) {
            addCriterion("NATIONALITY >", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityGreaterThanOrEqualTo(String value) {
            addCriterion("NATIONALITY >=", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLessThan(String value) {
            addCriterion("NATIONALITY <", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLessThanOrEqualTo(String value) {
            addCriterion("NATIONALITY <=", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLike(String value) {
            addCriterion("NATIONALITY like", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotLike(String value) {
            addCriterion("NATIONALITY not like", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityIn(List<String> values) {
            addCriterion("NATIONALITY in", values, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotIn(List<String> values) {
            addCriterion("NATIONALITY not in", values, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityBetween(String value1, String value2) {
            addCriterion("NATIONALITY between", value1, value2, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotBetween(String value1, String value2) {
            addCriterion("NATIONALITY not between", value1, value2, "nationality");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("ADDRESS =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("ADDRESS <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("ADDRESS >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("ADDRESS >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("ADDRESS <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("ADDRESS <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("ADDRESS like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("ADDRESS not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("ADDRESS in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("ADDRESS not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("ADDRESS between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("ADDRESS not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andPostcodeIsNull() {
            addCriterion("POSTCODE is null");
            return (Criteria) this;
        }

        public Criteria andPostcodeIsNotNull() {
            addCriterion("POSTCODE is not null");
            return (Criteria) this;
        }

        public Criteria andPostcodeEqualTo(String value) {
            addCriterion("POSTCODE =", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotEqualTo(String value) {
            addCriterion("POSTCODE <>", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeGreaterThan(String value) {
            addCriterion("POSTCODE >", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeGreaterThanOrEqualTo(String value) {
            addCriterion("POSTCODE >=", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeLessThan(String value) {
            addCriterion("POSTCODE <", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeLessThanOrEqualTo(String value) {
            addCriterion("POSTCODE <=", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeLike(String value) {
            addCriterion("POSTCODE like", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotLike(String value) {
            addCriterion("POSTCODE not like", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeIn(List<String> values) {
            addCriterion("POSTCODE in", values, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotIn(List<String> values) {
            addCriterion("POSTCODE not in", values, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeBetween(String value1, String value2) {
            addCriterion("POSTCODE between", value1, value2, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotBetween(String value1, String value2) {
            addCriterion("POSTCODE not between", value1, value2, "postcode");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("CITY is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("CITY is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("CITY =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("CITY <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("CITY >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("CITY >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("CITY <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("CITY <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("CITY like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("CITY not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("CITY in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("CITY not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("CITY between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("CITY not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("STATE is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("STATE is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("STATE =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("STATE <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("STATE >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("STATE <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("STATE <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("STATE like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("STATE not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("STATE in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("STATE not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("STATE between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("STATE not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andCountryIsNull() {
            addCriterion("COUNTRY is null");
            return (Criteria) this;
        }

        public Criteria andCountryIsNotNull() {
            addCriterion("COUNTRY is not null");
            return (Criteria) this;
        }

        public Criteria andCountryEqualTo(String value) {
            addCriterion("COUNTRY =", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotEqualTo(String value) {
            addCriterion("COUNTRY <>", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThan(String value) {
            addCriterion("COUNTRY >", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThanOrEqualTo(String value) {
            addCriterion("COUNTRY >=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThan(String value) {
            addCriterion("COUNTRY <", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThanOrEqualTo(String value) {
            addCriterion("COUNTRY <=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLike(String value) {
            addCriterion("COUNTRY like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotLike(String value) {
            addCriterion("COUNTRY not like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryIn(List<String> values) {
            addCriterion("COUNTRY in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotIn(List<String> values) {
            addCriterion("COUNTRY not in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryBetween(String value1, String value2) {
            addCriterion("COUNTRY between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotBetween(String value1, String value2) {
            addCriterion("COUNTRY not between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andTelNo1IsNull() {
            addCriterion("TEL_NO1 is null");
            return (Criteria) this;
        }

        public Criteria andTelNo1IsNotNull() {
            addCriterion("TEL_NO1 is not null");
            return (Criteria) this;
        }

        public Criteria andTelNo1EqualTo(String value) {
            addCriterion("TEL_NO1 =", value, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo1NotEqualTo(String value) {
            addCriterion("TEL_NO1 <>", value, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo1GreaterThan(String value) {
            addCriterion("TEL_NO1 >", value, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo1GreaterThanOrEqualTo(String value) {
            addCriterion("TEL_NO1 >=", value, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo1LessThan(String value) {
            addCriterion("TEL_NO1 <", value, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo1LessThanOrEqualTo(String value) {
            addCriterion("TEL_NO1 <=", value, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo1Like(String value) {
            addCriterion("TEL_NO1 like", value, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo1NotLike(String value) {
            addCriterion("TEL_NO1 not like", value, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo1In(List<String> values) {
            addCriterion("TEL_NO1 in", values, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo1NotIn(List<String> values) {
            addCriterion("TEL_NO1 not in", values, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo1Between(String value1, String value2) {
            addCriterion("TEL_NO1 between", value1, value2, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo1NotBetween(String value1, String value2) {
            addCriterion("TEL_NO1 not between", value1, value2, "telNo1");
            return (Criteria) this;
        }

        public Criteria andTelNo2IsNull() {
            addCriterion("TEL_NO2 is null");
            return (Criteria) this;
        }

        public Criteria andTelNo2IsNotNull() {
            addCriterion("TEL_NO2 is not null");
            return (Criteria) this;
        }

        public Criteria andTelNo2EqualTo(String value) {
            addCriterion("TEL_NO2 =", value, "telNo2");
            return (Criteria) this;
        }

        public Criteria andTelNo2NotEqualTo(String value) {
            addCriterion("TEL_NO2 <>", value, "telNo2");
            return (Criteria) this;
        }

        public Criteria andTelNo2GreaterThan(String value) {
            addCriterion("TEL_NO2 >", value, "telNo2");
            return (Criteria) this;
        }

        public Criteria andTelNo2GreaterThanOrEqualTo(String value) {
            addCriterion("TEL_NO2 >=", value, "telNo2");
            return (Criteria) this;
        }

        public Criteria andTelNo2LessThan(String value) {
            addCriterion("TEL_NO2 <", value, "telNo2");
            return (Criteria) this;
        }

        public Criteria andTelNo2LessThanOrEqualTo(String value) {
            addCriterion("TEL_NO2 <=", value, "telNo2");
            return (Criteria) this;
        }

        public Criteria andTelNo2Like(String value) {
            addCriterion("TEL_NO2 like", value, "telNo2");
            return (Criteria) this;
        }

        public Criteria andTelNo2NotLike(String value) {
            addCriterion("TEL_NO2 not like", value, "telNo2");
            return (Criteria) this;
        }

        public Criteria andTelNo2In(List<String> values) {
            addCriterion("TEL_NO2 in", values, "telNo2");
            return (Criteria) this;
        }

        public Criteria andTelNo2NotIn(List<String> values) {
            addCriterion("TEL_NO2 not in", values, "telNo2");
            return (Criteria) this;
        }

        public Criteria andTelNo2Between(String value1, String value2) {
            addCriterion("TEL_NO2 between", value1, value2, "telNo2");
            return (Criteria) this;
        }

        public Criteria andTelNo2NotBetween(String value1, String value2) {
            addCriterion("TEL_NO2 not between", value1, value2, "telNo2");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoIsNull() {
            addCriterion("INCOME_TAX_NO is null");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoIsNotNull() {
            addCriterion("INCOME_TAX_NO is not null");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoEqualTo(String value) {
            addCriterion("INCOME_TAX_NO =", value, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoNotEqualTo(String value) {
            addCriterion("INCOME_TAX_NO <>", value, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoGreaterThan(String value) {
            addCriterion("INCOME_TAX_NO >", value, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoGreaterThanOrEqualTo(String value) {
            addCriterion("INCOME_TAX_NO >=", value, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoLessThan(String value) {
            addCriterion("INCOME_TAX_NO <", value, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoLessThanOrEqualTo(String value) {
            addCriterion("INCOME_TAX_NO <=", value, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoLike(String value) {
            addCriterion("INCOME_TAX_NO like", value, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoNotLike(String value) {
            addCriterion("INCOME_TAX_NO not like", value, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoIn(List<String> values) {
            addCriterion("INCOME_TAX_NO in", values, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoNotIn(List<String> values) {
            addCriterion("INCOME_TAX_NO not in", values, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoBetween(String value1, String value2) {
            addCriterion("INCOME_TAX_NO between", value1, value2, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andIncomeTaxNoNotBetween(String value1, String value2) {
            addCriterion("INCOME_TAX_NO not between", value1, value2, "incomeTaxNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoIsNull() {
            addCriterion("SOCSO_NO is null");
            return (Criteria) this;
        }

        public Criteria andSocsoNoIsNotNull() {
            addCriterion("SOCSO_NO is not null");
            return (Criteria) this;
        }

        public Criteria andSocsoNoEqualTo(String value) {
            addCriterion("SOCSO_NO =", value, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoNotEqualTo(String value) {
            addCriterion("SOCSO_NO <>", value, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoGreaterThan(String value) {
            addCriterion("SOCSO_NO >", value, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoGreaterThanOrEqualTo(String value) {
            addCriterion("SOCSO_NO >=", value, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoLessThan(String value) {
            addCriterion("SOCSO_NO <", value, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoLessThanOrEqualTo(String value) {
            addCriterion("SOCSO_NO <=", value, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoLike(String value) {
            addCriterion("SOCSO_NO like", value, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoNotLike(String value) {
            addCriterion("SOCSO_NO not like", value, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoIn(List<String> values) {
            addCriterion("SOCSO_NO in", values, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoNotIn(List<String> values) {
            addCriterion("SOCSO_NO not in", values, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoBetween(String value1, String value2) {
            addCriterion("SOCSO_NO between", value1, value2, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andSocsoNoNotBetween(String value1, String value2) {
            addCriterion("SOCSO_NO not between", value1, value2, "socsoNo");
            return (Criteria) this;
        }

        public Criteria andOccupationIsNull() {
            addCriterion("OCCUPATION is null");
            return (Criteria) this;
        }

        public Criteria andOccupationIsNotNull() {
            addCriterion("OCCUPATION is not null");
            return (Criteria) this;
        }

        public Criteria andOccupationEqualTo(String value) {
            addCriterion("OCCUPATION =", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationNotEqualTo(String value) {
            addCriterion("OCCUPATION <>", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationGreaterThan(String value) {
            addCriterion("OCCUPATION >", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationGreaterThanOrEqualTo(String value) {
            addCriterion("OCCUPATION >=", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationLessThan(String value) {
            addCriterion("OCCUPATION <", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationLessThanOrEqualTo(String value) {
            addCriterion("OCCUPATION <=", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationLike(String value) {
            addCriterion("OCCUPATION like", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationNotLike(String value) {
            addCriterion("OCCUPATION not like", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationIn(List<String> values) {
            addCriterion("OCCUPATION in", values, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationNotIn(List<String> values) {
            addCriterion("OCCUPATION not in", values, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationBetween(String value1, String value2) {
            addCriterion("OCCUPATION between", value1, value2, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationNotBetween(String value1, String value2) {
            addCriterion("OCCUPATION not between", value1, value2, "occupation");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateIsNull() {
            addCriterion("EMPLOYMENT_DATE is null");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateIsNotNull() {
            addCriterion("EMPLOYMENT_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateEqualTo(Date value) {
            addCriterion("EMPLOYMENT_DATE =", value, "employmentDate");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateNotEqualTo(Date value) {
            addCriterion("EMPLOYMENT_DATE <>", value, "employmentDate");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateGreaterThan(Date value) {
            addCriterion("EMPLOYMENT_DATE >", value, "employmentDate");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateGreaterThanOrEqualTo(Date value) {
            addCriterion("EMPLOYMENT_DATE >=", value, "employmentDate");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateLessThan(Date value) {
            addCriterion("EMPLOYMENT_DATE <", value, "employmentDate");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateLessThanOrEqualTo(Date value) {
            addCriterion("EMPLOYMENT_DATE <=", value, "employmentDate");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateIn(List<Date> values) {
            addCriterion("EMPLOYMENT_DATE in", values, "employmentDate");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateNotIn(List<Date> values) {
            addCriterion("EMPLOYMENT_DATE not in", values, "employmentDate");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateBetween(Date value1, Date value2) {
            addCriterion("EMPLOYMENT_DATE between", value1, value2, "employmentDate");
            return (Criteria) this;
        }

        public Criteria andEmploymentDateNotBetween(Date value1, Date value2) {
            addCriterion("EMPLOYMENT_DATE not between", value1, value2, "employmentDate");
            return (Criteria) this;
        }

        public Criteria andTerminationDateIsNull() {
            addCriterion("TERMINATION_DATE is null");
            return (Criteria) this;
        }

        public Criteria andTerminationDateIsNotNull() {
            addCriterion("TERMINATION_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andTerminationDateEqualTo(Date value) {
            addCriterion("TERMINATION_DATE =", value, "terminationDate");
            return (Criteria) this;
        }

        public Criteria andTerminationDateNotEqualTo(Date value) {
            addCriterion("TERMINATION_DATE <>", value, "terminationDate");
            return (Criteria) this;
        }

        public Criteria andTerminationDateGreaterThan(Date value) {
            addCriterion("TERMINATION_DATE >", value, "terminationDate");
            return (Criteria) this;
        }

        public Criteria andTerminationDateGreaterThanOrEqualTo(Date value) {
            addCriterion("TERMINATION_DATE >=", value, "terminationDate");
            return (Criteria) this;
        }

        public Criteria andTerminationDateLessThan(Date value) {
            addCriterion("TERMINATION_DATE <", value, "terminationDate");
            return (Criteria) this;
        }

        public Criteria andTerminationDateLessThanOrEqualTo(Date value) {
            addCriterion("TERMINATION_DATE <=", value, "terminationDate");
            return (Criteria) this;
        }

        public Criteria andTerminationDateIn(List<Date> values) {
            addCriterion("TERMINATION_DATE in", values, "terminationDate");
            return (Criteria) this;
        }

        public Criteria andTerminationDateNotIn(List<Date> values) {
            addCriterion("TERMINATION_DATE not in", values, "terminationDate");
            return (Criteria) this;
        }

        public Criteria andTerminationDateBetween(Date value1, Date value2) {
            addCriterion("TERMINATION_DATE between", value1, value2, "terminationDate");
            return (Criteria) this;
        }

        public Criteria andTerminationDateNotBetween(Date value1, Date value2) {
            addCriterion("TERMINATION_DATE not between", value1, value2, "terminationDate");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusIsNull() {
            addCriterion("EMPLOYMENT_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusIsNotNull() {
            addCriterion("EMPLOYMENT_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusEqualTo(String value) {
            addCriterion("EMPLOYMENT_STATUS =", value, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusNotEqualTo(String value) {
            addCriterion("EMPLOYMENT_STATUS <>", value, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusGreaterThan(String value) {
            addCriterion("EMPLOYMENT_STATUS >", value, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusGreaterThanOrEqualTo(String value) {
            addCriterion("EMPLOYMENT_STATUS >=", value, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusLessThan(String value) {
            addCriterion("EMPLOYMENT_STATUS <", value, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusLessThanOrEqualTo(String value) {
            addCriterion("EMPLOYMENT_STATUS <=", value, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusLike(String value) {
            addCriterion("EMPLOYMENT_STATUS like", value, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusNotLike(String value) {
            addCriterion("EMPLOYMENT_STATUS not like", value, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusIn(List<String> values) {
            addCriterion("EMPLOYMENT_STATUS in", values, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusNotIn(List<String> values) {
            addCriterion("EMPLOYMENT_STATUS not in", values, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusBetween(String value1, String value2) {
            addCriterion("EMPLOYMENT_STATUS between", value1, value2, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andEmploymentStatusNotBetween(String value1, String value2) {
            addCriterion("EMPLOYMENT_STATUS not between", value1, value2, "employmentStatus");
            return (Criteria) this;
        }

        public Criteria andReactivationDateIsNull() {
            addCriterion("REACTIVATION_DATE is null");
            return (Criteria) this;
        }

        public Criteria andReactivationDateIsNotNull() {
            addCriterion("REACTIVATION_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andReactivationDateEqualTo(Date value) {
            addCriterion("REACTIVATION_DATE =", value, "reactivationDate");
            return (Criteria) this;
        }

        public Criteria andReactivationDateNotEqualTo(Date value) {
            addCriterion("REACTIVATION_DATE <>", value, "reactivationDate");
            return (Criteria) this;
        }

        public Criteria andReactivationDateGreaterThan(Date value) {
            addCriterion("REACTIVATION_DATE >", value, "reactivationDate");
            return (Criteria) this;
        }

        public Criteria andReactivationDateGreaterThanOrEqualTo(Date value) {
            addCriterion("REACTIVATION_DATE >=", value, "reactivationDate");
            return (Criteria) this;
        }

        public Criteria andReactivationDateLessThan(Date value) {
            addCriterion("REACTIVATION_DATE <", value, "reactivationDate");
            return (Criteria) this;
        }

        public Criteria andReactivationDateLessThanOrEqualTo(Date value) {
            addCriterion("REACTIVATION_DATE <=", value, "reactivationDate");
            return (Criteria) this;
        }

        public Criteria andReactivationDateIn(List<Date> values) {
            addCriterion("REACTIVATION_DATE in", values, "reactivationDate");
            return (Criteria) this;
        }

        public Criteria andReactivationDateNotIn(List<Date> values) {
            addCriterion("REACTIVATION_DATE not in", values, "reactivationDate");
            return (Criteria) this;
        }

        public Criteria andReactivationDateBetween(Date value1, Date value2) {
            addCriterion("REACTIVATION_DATE between", value1, value2, "reactivationDate");
            return (Criteria) this;
        }

        public Criteria andReactivationDateNotBetween(Date value1, Date value2) {
            addCriterion("REACTIVATION_DATE not between", value1, value2, "reactivationDate");
            return (Criteria) this;
        }

        public Criteria andActivationDateIsNull() {
            addCriterion("ACTIVATION_DATE is null");
            return (Criteria) this;
        }

        public Criteria andActivationDateIsNotNull() {
            addCriterion("ACTIVATION_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andActivationDateEqualTo(Date value) {
            addCriterion("ACTIVATION_DATE =", value, "activationDate");
            return (Criteria) this;
        }

        public Criteria andActivationDateNotEqualTo(Date value) {
            addCriterion("ACTIVATION_DATE <>", value, "activationDate");
            return (Criteria) this;
        }

        public Criteria andActivationDateGreaterThan(Date value) {
            addCriterion("ACTIVATION_DATE >", value, "activationDate");
            return (Criteria) this;
        }

        public Criteria andActivationDateGreaterThanOrEqualTo(Date value) {
            addCriterion("ACTIVATION_DATE >=", value, "activationDate");
            return (Criteria) this;
        }

        public Criteria andActivationDateLessThan(Date value) {
            addCriterion("ACTIVATION_DATE <", value, "activationDate");
            return (Criteria) this;
        }

        public Criteria andActivationDateLessThanOrEqualTo(Date value) {
            addCriterion("ACTIVATION_DATE <=", value, "activationDate");
            return (Criteria) this;
        }

        public Criteria andActivationDateIn(List<Date> values) {
            addCriterion("ACTIVATION_DATE in", values, "activationDate");
            return (Criteria) this;
        }

        public Criteria andActivationDateNotIn(List<Date> values) {
            addCriterion("ACTIVATION_DATE not in", values, "activationDate");
            return (Criteria) this;
        }

        public Criteria andActivationDateBetween(Date value1, Date value2) {
            addCriterion("ACTIVATION_DATE between", value1, value2, "activationDate");
            return (Criteria) this;
        }

        public Criteria andActivationDateNotBetween(Date value1, Date value2) {
            addCriterion("ACTIVATION_DATE not between", value1, value2, "activationDate");
            return (Criteria) this;
        }

        public Criteria andCancellationDateIsNull() {
            addCriterion("CANCELLATION_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCancellationDateIsNotNull() {
            addCriterion("CANCELLATION_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCancellationDateEqualTo(Date value) {
            addCriterion("CANCELLATION_DATE =", value, "cancellationDate");
            return (Criteria) this;
        }

        public Criteria andCancellationDateNotEqualTo(Date value) {
            addCriterion("CANCELLATION_DATE <>", value, "cancellationDate");
            return (Criteria) this;
        }

        public Criteria andCancellationDateGreaterThan(Date value) {
            addCriterion("CANCELLATION_DATE >", value, "cancellationDate");
            return (Criteria) this;
        }

        public Criteria andCancellationDateGreaterThanOrEqualTo(Date value) {
            addCriterion("CANCELLATION_DATE >=", value, "cancellationDate");
            return (Criteria) this;
        }

        public Criteria andCancellationDateLessThan(Date value) {
            addCriterion("CANCELLATION_DATE <", value, "cancellationDate");
            return (Criteria) this;
        }

        public Criteria andCancellationDateLessThanOrEqualTo(Date value) {
            addCriterion("CANCELLATION_DATE <=", value, "cancellationDate");
            return (Criteria) this;
        }

        public Criteria andCancellationDateIn(List<Date> values) {
            addCriterion("CANCELLATION_DATE in", values, "cancellationDate");
            return (Criteria) this;
        }

        public Criteria andCancellationDateNotIn(List<Date> values) {
            addCriterion("CANCELLATION_DATE not in", values, "cancellationDate");
            return (Criteria) this;
        }

        public Criteria andCancellationDateBetween(Date value1, Date value2) {
            addCriterion("CANCELLATION_DATE between", value1, value2, "cancellationDate");
            return (Criteria) this;
        }

        public Criteria andCancellationDateNotBetween(Date value1, Date value2) {
            addCriterion("CANCELLATION_DATE not between", value1, value2, "cancellationDate");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdIsNull() {
            addCriterion("PAYOR_MEMBER_ID is null");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdIsNotNull() {
            addCriterion("PAYOR_MEMBER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdEqualTo(String value) {
            addCriterion("PAYOR_MEMBER_ID =", value, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdNotEqualTo(String value) {
            addCriterion("PAYOR_MEMBER_ID <>", value, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdGreaterThan(String value) {
            addCriterion("PAYOR_MEMBER_ID >", value, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdGreaterThanOrEqualTo(String value) {
            addCriterion("PAYOR_MEMBER_ID >=", value, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdLessThan(String value) {
            addCriterion("PAYOR_MEMBER_ID <", value, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdLessThanOrEqualTo(String value) {
            addCriterion("PAYOR_MEMBER_ID <=", value, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdLike(String value) {
            addCriterion("PAYOR_MEMBER_ID like", value, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdNotLike(String value) {
            addCriterion("PAYOR_MEMBER_ID not like", value, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdIn(List<String> values) {
            addCriterion("PAYOR_MEMBER_ID in", values, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdNotIn(List<String> values) {
            addCriterion("PAYOR_MEMBER_ID not in", values, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdBetween(String value1, String value2) {
            addCriterion("PAYOR_MEMBER_ID between", value1, value2, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andPayorMemberIdNotBetween(String value1, String value2) {
            addCriterion("PAYOR_MEMBER_ID not between", value1, value2, "payorMemberId");
            return (Criteria) this;
        }

        public Criteria andArFlagIsNull() {
            addCriterion("AR_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andArFlagIsNotNull() {
            addCriterion("AR_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andArFlagEqualTo(String value) {
            addCriterion("AR_FLAG =", value, "arFlag");
            return (Criteria) this;
        }

        public Criteria andArFlagNotEqualTo(String value) {
            addCriterion("AR_FLAG <>", value, "arFlag");
            return (Criteria) this;
        }

        public Criteria andArFlagGreaterThan(String value) {
            addCriterion("AR_FLAG >", value, "arFlag");
            return (Criteria) this;
        }

        public Criteria andArFlagGreaterThanOrEqualTo(String value) {
            addCriterion("AR_FLAG >=", value, "arFlag");
            return (Criteria) this;
        }

        public Criteria andArFlagLessThan(String value) {
            addCriterion("AR_FLAG <", value, "arFlag");
            return (Criteria) this;
        }

        public Criteria andArFlagLessThanOrEqualTo(String value) {
            addCriterion("AR_FLAG <=", value, "arFlag");
            return (Criteria) this;
        }

        public Criteria andArFlagLike(String value) {
            addCriterion("AR_FLAG like", value, "arFlag");
            return (Criteria) this;
        }

        public Criteria andArFlagNotLike(String value) {
            addCriterion("AR_FLAG not like", value, "arFlag");
            return (Criteria) this;
        }

        public Criteria andArFlagIn(List<String> values) {
            addCriterion("AR_FLAG in", values, "arFlag");
            return (Criteria) this;
        }

        public Criteria andArFlagNotIn(List<String> values) {
            addCriterion("AR_FLAG not in", values, "arFlag");
            return (Criteria) this;
        }

        public Criteria andArFlagBetween(String value1, String value2) {
            addCriterion("AR_FLAG between", value1, value2, "arFlag");
            return (Criteria) this;
        }

        public Criteria andArFlagNotBetween(String value1, String value2) {
            addCriterion("AR_FLAG not between", value1, value2, "arFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagIsNull() {
            addCriterion("MF_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andMfFlagIsNotNull() {
            addCriterion("MF_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andMfFlagEqualTo(String value) {
            addCriterion("MF_FLAG =", value, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagNotEqualTo(String value) {
            addCriterion("MF_FLAG <>", value, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagGreaterThan(String value) {
            addCriterion("MF_FLAG >", value, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagGreaterThanOrEqualTo(String value) {
            addCriterion("MF_FLAG >=", value, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagLessThan(String value) {
            addCriterion("MF_FLAG <", value, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagLessThanOrEqualTo(String value) {
            addCriterion("MF_FLAG <=", value, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagLike(String value) {
            addCriterion("MF_FLAG like", value, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagNotLike(String value) {
            addCriterion("MF_FLAG not like", value, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagIn(List<String> values) {
            addCriterion("MF_FLAG in", values, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagNotIn(List<String> values) {
            addCriterion("MF_FLAG not in", values, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagBetween(String value1, String value2) {
            addCriterion("MF_FLAG between", value1, value2, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andMfFlagNotBetween(String value1, String value2) {
            addCriterion("MF_FLAG not between", value1, value2, "mfFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagIsNull() {
            addCriterion("ABL_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andAblFlagIsNotNull() {
            addCriterion("ABL_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andAblFlagEqualTo(String value) {
            addCriterion("ABL_FLAG =", value, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagNotEqualTo(String value) {
            addCriterion("ABL_FLAG <>", value, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagGreaterThan(String value) {
            addCriterion("ABL_FLAG >", value, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagGreaterThanOrEqualTo(String value) {
            addCriterion("ABL_FLAG >=", value, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagLessThan(String value) {
            addCriterion("ABL_FLAG <", value, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagLessThanOrEqualTo(String value) {
            addCriterion("ABL_FLAG <=", value, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagLike(String value) {
            addCriterion("ABL_FLAG like", value, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagNotLike(String value) {
            addCriterion("ABL_FLAG not like", value, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagIn(List<String> values) {
            addCriterion("ABL_FLAG in", values, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagNotIn(List<String> values) {
            addCriterion("ABL_FLAG not in", values, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagBetween(String value1, String value2) {
            addCriterion("ABL_FLAG between", value1, value2, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andAblFlagNotBetween(String value1, String value2) {
            addCriterion("ABL_FLAG not between", value1, value2, "ablFlag");
            return (Criteria) this;
        }

        public Criteria andMfDuedateIsNull() {
            addCriterion("MF_DUEDATE is null");
            return (Criteria) this;
        }

        public Criteria andMfDuedateIsNotNull() {
            addCriterion("MF_DUEDATE is not null");
            return (Criteria) this;
        }

        public Criteria andMfDuedateEqualTo(Date value) {
            addCriterion("MF_DUEDATE =", value, "mfDuedate");
            return (Criteria) this;
        }

        public Criteria andMfDuedateNotEqualTo(Date value) {
            addCriterion("MF_DUEDATE <>", value, "mfDuedate");
            return (Criteria) this;
        }

        public Criteria andMfDuedateGreaterThan(Date value) {
            addCriterion("MF_DUEDATE >", value, "mfDuedate");
            return (Criteria) this;
        }

        public Criteria andMfDuedateGreaterThanOrEqualTo(Date value) {
            addCriterion("MF_DUEDATE >=", value, "mfDuedate");
            return (Criteria) this;
        }

        public Criteria andMfDuedateLessThan(Date value) {
            addCriterion("MF_DUEDATE <", value, "mfDuedate");
            return (Criteria) this;
        }

        public Criteria andMfDuedateLessThanOrEqualTo(Date value) {
            addCriterion("MF_DUEDATE <=", value, "mfDuedate");
            return (Criteria) this;
        }

        public Criteria andMfDuedateIn(List<Date> values) {
            addCriterion("MF_DUEDATE in", values, "mfDuedate");
            return (Criteria) this;
        }

        public Criteria andMfDuedateNotIn(List<Date> values) {
            addCriterion("MF_DUEDATE not in", values, "mfDuedate");
            return (Criteria) this;
        }

        public Criteria andMfDuedateBetween(Date value1, Date value2) {
            addCriterion("MF_DUEDATE between", value1, value2, "mfDuedate");
            return (Criteria) this;
        }

        public Criteria andMfDuedateNotBetween(Date value1, Date value2) {
            addCriterion("MF_DUEDATE not between", value1, value2, "mfDuedate");
            return (Criteria) this;
        }

        public Criteria andMfGraceIsNull() {
            addCriterion("MF_GRACE is null");
            return (Criteria) this;
        }

        public Criteria andMfGraceIsNotNull() {
            addCriterion("MF_GRACE is not null");
            return (Criteria) this;
        }

        public Criteria andMfGraceEqualTo(Short value) {
            addCriterion("MF_GRACE =", value, "mfGrace");
            return (Criteria) this;
        }

        public Criteria andMfGraceNotEqualTo(Short value) {
            addCriterion("MF_GRACE <>", value, "mfGrace");
            return (Criteria) this;
        }

        public Criteria andMfGraceGreaterThan(Short value) {
            addCriterion("MF_GRACE >", value, "mfGrace");
            return (Criteria) this;
        }

        public Criteria andMfGraceGreaterThanOrEqualTo(Short value) {
            addCriterion("MF_GRACE >=", value, "mfGrace");
            return (Criteria) this;
        }

        public Criteria andMfGraceLessThan(Short value) {
            addCriterion("MF_GRACE <", value, "mfGrace");
            return (Criteria) this;
        }

        public Criteria andMfGraceLessThanOrEqualTo(Short value) {
            addCriterion("MF_GRACE <=", value, "mfGrace");
            return (Criteria) this;
        }

        public Criteria andMfGraceIn(List<Short> values) {
            addCriterion("MF_GRACE in", values, "mfGrace");
            return (Criteria) this;
        }

        public Criteria andMfGraceNotIn(List<Short> values) {
            addCriterion("MF_GRACE not in", values, "mfGrace");
            return (Criteria) this;
        }

        public Criteria andMfGraceBetween(Short value1, Short value2) {
            addCriterion("MF_GRACE between", value1, value2, "mfGrace");
            return (Criteria) this;
        }

        public Criteria andMfGraceNotBetween(Short value1, Short value2) {
            addCriterion("MF_GRACE not between", value1, value2, "mfGrace");
            return (Criteria) this;
        }

        public Criteria andAgentCodeIsNull() {
            addCriterion("AGENT_CODE is null");
            return (Criteria) this;
        }

        public Criteria andAgentCodeIsNotNull() {
            addCriterion("AGENT_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andAgentCodeEqualTo(String value) {
            addCriterion("AGENT_CODE =", value, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgentCodeNotEqualTo(String value) {
            addCriterion("AGENT_CODE <>", value, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgentCodeGreaterThan(String value) {
            addCriterion("AGENT_CODE >", value, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgentCodeGreaterThanOrEqualTo(String value) {
            addCriterion("AGENT_CODE >=", value, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgentCodeLessThan(String value) {
            addCriterion("AGENT_CODE <", value, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgentCodeLessThanOrEqualTo(String value) {
            addCriterion("AGENT_CODE <=", value, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgentCodeLike(String value) {
            addCriterion("AGENT_CODE like", value, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgentCodeNotLike(String value) {
            addCriterion("AGENT_CODE not like", value, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgentCodeIn(List<String> values) {
            addCriterion("AGENT_CODE in", values, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgentCodeNotIn(List<String> values) {
            addCriterion("AGENT_CODE not in", values, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgentCodeBetween(String value1, String value2) {
            addCriterion("AGENT_CODE between", value1, value2, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgentCodeNotBetween(String value1, String value2) {
            addCriterion("AGENT_CODE not between", value1, value2, "agentCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeIsNull() {
            addCriterion("AGENCY_CODE is null");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeIsNotNull() {
            addCriterion("AGENCY_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeEqualTo(String value) {
            addCriterion("AGENCY_CODE =", value, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeNotEqualTo(String value) {
            addCriterion("AGENCY_CODE <>", value, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeGreaterThan(String value) {
            addCriterion("AGENCY_CODE >", value, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeGreaterThanOrEqualTo(String value) {
            addCriterion("AGENCY_CODE >=", value, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeLessThan(String value) {
            addCriterion("AGENCY_CODE <", value, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeLessThanOrEqualTo(String value) {
            addCriterion("AGENCY_CODE <=", value, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeLike(String value) {
            addCriterion("AGENCY_CODE like", value, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeNotLike(String value) {
            addCriterion("AGENCY_CODE not like", value, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeIn(List<String> values) {
            addCriterion("AGENCY_CODE in", values, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeNotIn(List<String> values) {
            addCriterion("AGENCY_CODE not in", values, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeBetween(String value1, String value2) {
            addCriterion("AGENCY_CODE between", value1, value2, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andAgencyCodeNotBetween(String value1, String value2) {
            addCriterion("AGENCY_CODE not between", value1, value2, "agencyCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeIsNull() {
            addCriterion("BROKER_CODE is null");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeIsNotNull() {
            addCriterion("BROKER_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeEqualTo(String value) {
            addCriterion("BROKER_CODE =", value, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeNotEqualTo(String value) {
            addCriterion("BROKER_CODE <>", value, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeGreaterThan(String value) {
            addCriterion("BROKER_CODE >", value, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeGreaterThanOrEqualTo(String value) {
            addCriterion("BROKER_CODE >=", value, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeLessThan(String value) {
            addCriterion("BROKER_CODE <", value, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeLessThanOrEqualTo(String value) {
            addCriterion("BROKER_CODE <=", value, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeLike(String value) {
            addCriterion("BROKER_CODE like", value, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeNotLike(String value) {
            addCriterion("BROKER_CODE not like", value, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeIn(List<String> values) {
            addCriterion("BROKER_CODE in", values, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeNotIn(List<String> values) {
            addCriterion("BROKER_CODE not in", values, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeBetween(String value1, String value2) {
            addCriterion("BROKER_CODE between", value1, value2, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andBrokerCodeNotBetween(String value1, String value2) {
            addCriterion("BROKER_CODE not between", value1, value2, "brokerCode");
            return (Criteria) this;
        }

        public Criteria andLanguageIsNull() {
            addCriterion("LANGUAGE is null");
            return (Criteria) this;
        }

        public Criteria andLanguageIsNotNull() {
            addCriterion("LANGUAGE is not null");
            return (Criteria) this;
        }

        public Criteria andLanguageEqualTo(String value) {
            addCriterion("LANGUAGE =", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotEqualTo(String value) {
            addCriterion("LANGUAGE <>", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageGreaterThan(String value) {
            addCriterion("LANGUAGE >", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageGreaterThanOrEqualTo(String value) {
            addCriterion("LANGUAGE >=", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLessThan(String value) {
            addCriterion("LANGUAGE <", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLessThanOrEqualTo(String value) {
            addCriterion("LANGUAGE <=", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLike(String value) {
            addCriterion("LANGUAGE like", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotLike(String value) {
            addCriterion("LANGUAGE not like", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageIn(List<String> values) {
            addCriterion("LANGUAGE in", values, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotIn(List<String> values) {
            addCriterion("LANGUAGE not in", values, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageBetween(String value1, String value2) {
            addCriterion("LANGUAGE between", value1, value2, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotBetween(String value1, String value2) {
            addCriterion("LANGUAGE not between", value1, value2, "language");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkIsNull() {
            addCriterion("NATURE_OF_WORK is null");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkIsNotNull() {
            addCriterion("NATURE_OF_WORK is not null");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkEqualTo(String value) {
            addCriterion("NATURE_OF_WORK =", value, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkNotEqualTo(String value) {
            addCriterion("NATURE_OF_WORK <>", value, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkGreaterThan(String value) {
            addCriterion("NATURE_OF_WORK >", value, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkGreaterThanOrEqualTo(String value) {
            addCriterion("NATURE_OF_WORK >=", value, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkLessThan(String value) {
            addCriterion("NATURE_OF_WORK <", value, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkLessThanOrEqualTo(String value) {
            addCriterion("NATURE_OF_WORK <=", value, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkLike(String value) {
            addCriterion("NATURE_OF_WORK like", value, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkNotLike(String value) {
            addCriterion("NATURE_OF_WORK not like", value, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkIn(List<String> values) {
            addCriterion("NATURE_OF_WORK in", values, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkNotIn(List<String> values) {
            addCriterion("NATURE_OF_WORK not in", values, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkBetween(String value1, String value2) {
            addCriterion("NATURE_OF_WORK between", value1, value2, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andNatureOfWorkNotBetween(String value1, String value2) {
            addCriterion("NATURE_OF_WORK not between", value1, value2, "natureOfWork");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumIsNull() {
            addCriterion("GROSS_PREMIUM is null");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumIsNotNull() {
            addCriterion("GROSS_PREMIUM is not null");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumEqualTo(BigDecimal value) {
            addCriterion("GROSS_PREMIUM =", value, "grossPremium");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumNotEqualTo(BigDecimal value) {
            addCriterion("GROSS_PREMIUM <>", value, "grossPremium");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumGreaterThan(BigDecimal value) {
            addCriterion("GROSS_PREMIUM >", value, "grossPremium");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("GROSS_PREMIUM >=", value, "grossPremium");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumLessThan(BigDecimal value) {
            addCriterion("GROSS_PREMIUM <", value, "grossPremium");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumLessThanOrEqualTo(BigDecimal value) {
            addCriterion("GROSS_PREMIUM <=", value, "grossPremium");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumIn(List<BigDecimal> values) {
            addCriterion("GROSS_PREMIUM in", values, "grossPremium");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumNotIn(List<BigDecimal> values) {
            addCriterion("GROSS_PREMIUM not in", values, "grossPremium");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("GROSS_PREMIUM between", value1, value2, "grossPremium");
            return (Criteria) this;
        }

        public Criteria andGrossPremiumNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("GROSS_PREMIUM not between", value1, value2, "grossPremium");
            return (Criteria) this;
        }

        public Criteria andAgentCommIsNull() {
            addCriterion("AGENT_COMM is null");
            return (Criteria) this;
        }

        public Criteria andAgentCommIsNotNull() {
            addCriterion("AGENT_COMM is not null");
            return (Criteria) this;
        }

        public Criteria andAgentCommEqualTo(BigDecimal value) {
            addCriterion("AGENT_COMM =", value, "agentComm");
            return (Criteria) this;
        }

        public Criteria andAgentCommNotEqualTo(BigDecimal value) {
            addCriterion("AGENT_COMM <>", value, "agentComm");
            return (Criteria) this;
        }

        public Criteria andAgentCommGreaterThan(BigDecimal value) {
            addCriterion("AGENT_COMM >", value, "agentComm");
            return (Criteria) this;
        }

        public Criteria andAgentCommGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AGENT_COMM >=", value, "agentComm");
            return (Criteria) this;
        }

        public Criteria andAgentCommLessThan(BigDecimal value) {
            addCriterion("AGENT_COMM <", value, "agentComm");
            return (Criteria) this;
        }

        public Criteria andAgentCommLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AGENT_COMM <=", value, "agentComm");
            return (Criteria) this;
        }

        public Criteria andAgentCommIn(List<BigDecimal> values) {
            addCriterion("AGENT_COMM in", values, "agentComm");
            return (Criteria) this;
        }

        public Criteria andAgentCommNotIn(List<BigDecimal> values) {
            addCriterion("AGENT_COMM not in", values, "agentComm");
            return (Criteria) this;
        }

        public Criteria andAgentCommBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AGENT_COMM between", value1, value2, "agentComm");
            return (Criteria) this;
        }

        public Criteria andAgentCommNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AGENT_COMM not between", value1, value2, "agentComm");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesIsNull() {
            addCriterion("MGMT_FEES is null");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesIsNotNull() {
            addCriterion("MGMT_FEES is not null");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesEqualTo(BigDecimal value) {
            addCriterion("MGMT_FEES =", value, "mgmtFees");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesNotEqualTo(BigDecimal value) {
            addCriterion("MGMT_FEES <>", value, "mgmtFees");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesGreaterThan(BigDecimal value) {
            addCriterion("MGMT_FEES >", value, "mgmtFees");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MGMT_FEES >=", value, "mgmtFees");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesLessThan(BigDecimal value) {
            addCriterion("MGMT_FEES <", value, "mgmtFees");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MGMT_FEES <=", value, "mgmtFees");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesIn(List<BigDecimal> values) {
            addCriterion("MGMT_FEES in", values, "mgmtFees");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesNotIn(List<BigDecimal> values) {
            addCriterion("MGMT_FEES not in", values, "mgmtFees");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MGMT_FEES between", value1, value2, "mgmtFees");
            return (Criteria) this;
        }

        public Criteria andMgmtFeesNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MGMT_FEES not between", value1, value2, "mgmtFees");
            return (Criteria) this;
        }

        public Criteria andMcoFeesIsNull() {
            addCriterion("MCO_FEES is null");
            return (Criteria) this;
        }

        public Criteria andMcoFeesIsNotNull() {
            addCriterion("MCO_FEES is not null");
            return (Criteria) this;
        }

        public Criteria andMcoFeesEqualTo(BigDecimal value) {
            addCriterion("MCO_FEES =", value, "mcoFees");
            return (Criteria) this;
        }

        public Criteria andMcoFeesNotEqualTo(BigDecimal value) {
            addCriterion("MCO_FEES <>", value, "mcoFees");
            return (Criteria) this;
        }

        public Criteria andMcoFeesGreaterThan(BigDecimal value) {
            addCriterion("MCO_FEES >", value, "mcoFees");
            return (Criteria) this;
        }

        public Criteria andMcoFeesGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MCO_FEES >=", value, "mcoFees");
            return (Criteria) this;
        }

        public Criteria andMcoFeesLessThan(BigDecimal value) {
            addCriterion("MCO_FEES <", value, "mcoFees");
            return (Criteria) this;
        }

        public Criteria andMcoFeesLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MCO_FEES <=", value, "mcoFees");
            return (Criteria) this;
        }

        public Criteria andMcoFeesIn(List<BigDecimal> values) {
            addCriterion("MCO_FEES in", values, "mcoFees");
            return (Criteria) this;
        }

        public Criteria andMcoFeesNotIn(List<BigDecimal> values) {
            addCriterion("MCO_FEES not in", values, "mcoFees");
            return (Criteria) this;
        }

        public Criteria andMcoFeesBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MCO_FEES between", value1, value2, "mcoFees");
            return (Criteria) this;
        }

        public Criteria andMcoFeesNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MCO_FEES not between", value1, value2, "mcoFees");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskIsNull() {
            addCriterion("MNRB_RISK is null");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskIsNotNull() {
            addCriterion("MNRB_RISK is not null");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskEqualTo(String value) {
            addCriterion("MNRB_RISK =", value, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskNotEqualTo(String value) {
            addCriterion("MNRB_RISK <>", value, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskGreaterThan(String value) {
            addCriterion("MNRB_RISK >", value, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskGreaterThanOrEqualTo(String value) {
            addCriterion("MNRB_RISK >=", value, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskLessThan(String value) {
            addCriterion("MNRB_RISK <", value, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskLessThanOrEqualTo(String value) {
            addCriterion("MNRB_RISK <=", value, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskLike(String value) {
            addCriterion("MNRB_RISK like", value, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskNotLike(String value) {
            addCriterion("MNRB_RISK not like", value, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskIn(List<String> values) {
            addCriterion("MNRB_RISK in", values, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskNotIn(List<String> values) {
            addCriterion("MNRB_RISK not in", values, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskBetween(String value1, String value2) {
            addCriterion("MNRB_RISK between", value1, value2, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andMnrbRiskNotBetween(String value1, String value2) {
            addCriterion("MNRB_RISK not between", value1, value2, "mnrbRisk");
            return (Criteria) this;
        }

        public Criteria andTelMobileIsNull() {
            addCriterion("TEL_MOBILE is null");
            return (Criteria) this;
        }

        public Criteria andTelMobileIsNotNull() {
            addCriterion("TEL_MOBILE is not null");
            return (Criteria) this;
        }

        public Criteria andTelMobileEqualTo(String value) {
            addCriterion("TEL_MOBILE =", value, "telMobile");
            return (Criteria) this;
        }

        public Criteria andTelMobileNotEqualTo(String value) {
            addCriterion("TEL_MOBILE <>", value, "telMobile");
            return (Criteria) this;
        }

        public Criteria andTelMobileGreaterThan(String value) {
            addCriterion("TEL_MOBILE >", value, "telMobile");
            return (Criteria) this;
        }

        public Criteria andTelMobileGreaterThanOrEqualTo(String value) {
            addCriterion("TEL_MOBILE >=", value, "telMobile");
            return (Criteria) this;
        }

        public Criteria andTelMobileLessThan(String value) {
            addCriterion("TEL_MOBILE <", value, "telMobile");
            return (Criteria) this;
        }

        public Criteria andTelMobileLessThanOrEqualTo(String value) {
            addCriterion("TEL_MOBILE <=", value, "telMobile");
            return (Criteria) this;
        }

        public Criteria andTelMobileLike(String value) {
            addCriterion("TEL_MOBILE like", value, "telMobile");
            return (Criteria) this;
        }

        public Criteria andTelMobileNotLike(String value) {
            addCriterion("TEL_MOBILE not like", value, "telMobile");
            return (Criteria) this;
        }

        public Criteria andTelMobileIn(List<String> values) {
            addCriterion("TEL_MOBILE in", values, "telMobile");
            return (Criteria) this;
        }

        public Criteria andTelMobileNotIn(List<String> values) {
            addCriterion("TEL_MOBILE not in", values, "telMobile");
            return (Criteria) this;
        }

        public Criteria andTelMobileBetween(String value1, String value2) {
            addCriterion("TEL_MOBILE between", value1, value2, "telMobile");
            return (Criteria) this;
        }

        public Criteria andTelMobileNotBetween(String value1, String value2) {
            addCriterion("TEL_MOBILE not between", value1, value2, "telMobile");
            return (Criteria) this;
        }

        public Criteria andPassportCountryIsNull() {
            addCriterion("PASSPORT_COUNTRY is null");
            return (Criteria) this;
        }

        public Criteria andPassportCountryIsNotNull() {
            addCriterion("PASSPORT_COUNTRY is not null");
            return (Criteria) this;
        }

        public Criteria andPassportCountryEqualTo(String value) {
            addCriterion("PASSPORT_COUNTRY =", value, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andPassportCountryNotEqualTo(String value) {
            addCriterion("PASSPORT_COUNTRY <>", value, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andPassportCountryGreaterThan(String value) {
            addCriterion("PASSPORT_COUNTRY >", value, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andPassportCountryGreaterThanOrEqualTo(String value) {
            addCriterion("PASSPORT_COUNTRY >=", value, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andPassportCountryLessThan(String value) {
            addCriterion("PASSPORT_COUNTRY <", value, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andPassportCountryLessThanOrEqualTo(String value) {
            addCriterion("PASSPORT_COUNTRY <=", value, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andPassportCountryLike(String value) {
            addCriterion("PASSPORT_COUNTRY like", value, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andPassportCountryNotLike(String value) {
            addCriterion("PASSPORT_COUNTRY not like", value, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andPassportCountryIn(List<String> values) {
            addCriterion("PASSPORT_COUNTRY in", values, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andPassportCountryNotIn(List<String> values) {
            addCriterion("PASSPORT_COUNTRY not in", values, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andPassportCountryBetween(String value1, String value2) {
            addCriterion("PASSPORT_COUNTRY between", value1, value2, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andPassportCountryNotBetween(String value1, String value2) {
            addCriterion("PASSPORT_COUNTRY not between", value1, value2, "passportCountry");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateIsNull() {
            addCriterion("MBA_POLICY_START_DATE is null");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateIsNotNull() {
            addCriterion("MBA_POLICY_START_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateEqualTo(Date value) {
            addCriterion("MBA_POLICY_START_DATE =", value, "mbaPolicyStartDate");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateNotEqualTo(Date value) {
            addCriterion("MBA_POLICY_START_DATE <>", value, "mbaPolicyStartDate");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateGreaterThan(Date value) {
            addCriterion("MBA_POLICY_START_DATE >", value, "mbaPolicyStartDate");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateGreaterThanOrEqualTo(Date value) {
            addCriterion("MBA_POLICY_START_DATE >=", value, "mbaPolicyStartDate");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateLessThan(Date value) {
            addCriterion("MBA_POLICY_START_DATE <", value, "mbaPolicyStartDate");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateLessThanOrEqualTo(Date value) {
            addCriterion("MBA_POLICY_START_DATE <=", value, "mbaPolicyStartDate");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateIn(List<Date> values) {
            addCriterion("MBA_POLICY_START_DATE in", values, "mbaPolicyStartDate");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateNotIn(List<Date> values) {
            addCriterion("MBA_POLICY_START_DATE not in", values, "mbaPolicyStartDate");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateBetween(Date value1, Date value2) {
            addCriterion("MBA_POLICY_START_DATE between", value1, value2, "mbaPolicyStartDate");
            return (Criteria) this;
        }

        public Criteria andMbaPolicyStartDateNotBetween(Date value1, Date value2) {
            addCriterion("MBA_POLICY_START_DATE not between", value1, value2, "mbaPolicyStartDate");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypIsNull() {
            addCriterion("MBA_ACCOUNT_TYP is null");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypIsNotNull() {
            addCriterion("MBA_ACCOUNT_TYP is not null");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypEqualTo(String value) {
            addCriterion("MBA_ACCOUNT_TYP =", value, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypNotEqualTo(String value) {
            addCriterion("MBA_ACCOUNT_TYP <>", value, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypGreaterThan(String value) {
            addCriterion("MBA_ACCOUNT_TYP >", value, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypGreaterThanOrEqualTo(String value) {
            addCriterion("MBA_ACCOUNT_TYP >=", value, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypLessThan(String value) {
            addCriterion("MBA_ACCOUNT_TYP <", value, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypLessThanOrEqualTo(String value) {
            addCriterion("MBA_ACCOUNT_TYP <=", value, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypLike(String value) {
            addCriterion("MBA_ACCOUNT_TYP like", value, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypNotLike(String value) {
            addCriterion("MBA_ACCOUNT_TYP not like", value, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypIn(List<String> values) {
            addCriterion("MBA_ACCOUNT_TYP in", values, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypNotIn(List<String> values) {
            addCriterion("MBA_ACCOUNT_TYP not in", values, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypBetween(String value1, String value2) {
            addCriterion("MBA_ACCOUNT_TYP between", value1, value2, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andMbaAccountTypNotBetween(String value1, String value2) {
            addCriterion("MBA_ACCOUNT_TYP not between", value1, value2, "mbaAccountTyp");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateIsNull() {
            addCriterion("ENDORSEMENT_DATE is null");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateIsNotNull() {
            addCriterion("ENDORSEMENT_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateEqualTo(Date value) {
            addCriterion("ENDORSEMENT_DATE =", value, "endorsementDate");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateNotEqualTo(Date value) {
            addCriterion("ENDORSEMENT_DATE <>", value, "endorsementDate");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateGreaterThan(Date value) {
            addCriterion("ENDORSEMENT_DATE >", value, "endorsementDate");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateGreaterThanOrEqualTo(Date value) {
            addCriterion("ENDORSEMENT_DATE >=", value, "endorsementDate");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateLessThan(Date value) {
            addCriterion("ENDORSEMENT_DATE <", value, "endorsementDate");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateLessThanOrEqualTo(Date value) {
            addCriterion("ENDORSEMENT_DATE <=", value, "endorsementDate");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateIn(List<Date> values) {
            addCriterion("ENDORSEMENT_DATE in", values, "endorsementDate");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateNotIn(List<Date> values) {
            addCriterion("ENDORSEMENT_DATE not in", values, "endorsementDate");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateBetween(Date value1, Date value2) {
            addCriterion("ENDORSEMENT_DATE between", value1, value2, "endorsementDate");
            return (Criteria) this;
        }

        public Criteria andEndorsementDateNotBetween(Date value1, Date value2) {
            addCriterion("ENDORSEMENT_DATE not between", value1, value2, "endorsementDate");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingIsNull() {
            addCriterion("OTHER_PRE_EXISTING is null");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingIsNotNull() {
            addCriterion("OTHER_PRE_EXISTING is not null");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingEqualTo(String value) {
            addCriterion("OTHER_PRE_EXISTING =", value, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingNotEqualTo(String value) {
            addCriterion("OTHER_PRE_EXISTING <>", value, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingGreaterThan(String value) {
            addCriterion("OTHER_PRE_EXISTING >", value, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingGreaterThanOrEqualTo(String value) {
            addCriterion("OTHER_PRE_EXISTING >=", value, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingLessThan(String value) {
            addCriterion("OTHER_PRE_EXISTING <", value, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingLessThanOrEqualTo(String value) {
            addCriterion("OTHER_PRE_EXISTING <=", value, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingLike(String value) {
            addCriterion("OTHER_PRE_EXISTING like", value, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingNotLike(String value) {
            addCriterion("OTHER_PRE_EXISTING not like", value, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingIn(List<String> values) {
            addCriterion("OTHER_PRE_EXISTING in", values, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingNotIn(List<String> values) {
            addCriterion("OTHER_PRE_EXISTING not in", values, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingBetween(String value1, String value2) {
            addCriterion("OTHER_PRE_EXISTING between", value1, value2, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andOtherPreExistingNotBetween(String value1, String value2) {
            addCriterion("OTHER_PRE_EXISTING not between", value1, value2, "otherPreExisting");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseIsNull() {
            addCriterion("POLICY_ENDORSE is null");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseIsNotNull() {
            addCriterion("POLICY_ENDORSE is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseEqualTo(String value) {
            addCriterion("POLICY_ENDORSE =", value, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseNotEqualTo(String value) {
            addCriterion("POLICY_ENDORSE <>", value, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseGreaterThan(String value) {
            addCriterion("POLICY_ENDORSE >", value, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseGreaterThanOrEqualTo(String value) {
            addCriterion("POLICY_ENDORSE >=", value, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseLessThan(String value) {
            addCriterion("POLICY_ENDORSE <", value, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseLessThanOrEqualTo(String value) {
            addCriterion("POLICY_ENDORSE <=", value, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseLike(String value) {
            addCriterion("POLICY_ENDORSE like", value, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseNotLike(String value) {
            addCriterion("POLICY_ENDORSE not like", value, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseIn(List<String> values) {
            addCriterion("POLICY_ENDORSE in", values, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseNotIn(List<String> values) {
            addCriterion("POLICY_ENDORSE not in", values, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseBetween(String value1, String value2) {
            addCriterion("POLICY_ENDORSE between", value1, value2, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorseNotBetween(String value1, String value2) {
            addCriterion("POLICY_ENDORSE not between", value1, value2, "policyEndorse");
            return (Criteria) this;
        }

        public Criteria andDependentIdIsNull() {
            addCriterion("DEPENDENT_ID is null");
            return (Criteria) this;
        }

        public Criteria andDependentIdIsNotNull() {
            addCriterion("DEPENDENT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andDependentIdEqualTo(String value) {
            addCriterion("DEPENDENT_ID =", value, "dependentId");
            return (Criteria) this;
        }

        public Criteria andDependentIdNotEqualTo(String value) {
            addCriterion("DEPENDENT_ID <>", value, "dependentId");
            return (Criteria) this;
        }

        public Criteria andDependentIdGreaterThan(String value) {
            addCriterion("DEPENDENT_ID >", value, "dependentId");
            return (Criteria) this;
        }

        public Criteria andDependentIdGreaterThanOrEqualTo(String value) {
            addCriterion("DEPENDENT_ID >=", value, "dependentId");
            return (Criteria) this;
        }

        public Criteria andDependentIdLessThan(String value) {
            addCriterion("DEPENDENT_ID <", value, "dependentId");
            return (Criteria) this;
        }

        public Criteria andDependentIdLessThanOrEqualTo(String value) {
            addCriterion("DEPENDENT_ID <=", value, "dependentId");
            return (Criteria) this;
        }

        public Criteria andDependentIdLike(String value) {
            addCriterion("DEPENDENT_ID like", value, "dependentId");
            return (Criteria) this;
        }

        public Criteria andDependentIdNotLike(String value) {
            addCriterion("DEPENDENT_ID not like", value, "dependentId");
            return (Criteria) this;
        }

        public Criteria andDependentIdIn(List<String> values) {
            addCriterion("DEPENDENT_ID in", values, "dependentId");
            return (Criteria) this;
        }

        public Criteria andDependentIdNotIn(List<String> values) {
            addCriterion("DEPENDENT_ID not in", values, "dependentId");
            return (Criteria) this;
        }

        public Criteria andDependentIdBetween(String value1, String value2) {
            addCriterion("DEPENDENT_ID between", value1, value2, "dependentId");
            return (Criteria) this;
        }

        public Criteria andDependentIdNotBetween(String value1, String value2) {
            addCriterion("DEPENDENT_ID not between", value1, value2, "dependentId");
            return (Criteria) this;
        }

        public Criteria andRelationshipIsNull() {
            addCriterion("RELATIONSHIP is null");
            return (Criteria) this;
        }

        public Criteria andRelationshipIsNotNull() {
            addCriterion("RELATIONSHIP is not null");
            return (Criteria) this;
        }

        public Criteria andRelationshipEqualTo(String value) {
            addCriterion("RELATIONSHIP =", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotEqualTo(String value) {
            addCriterion("RELATIONSHIP <>", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipGreaterThan(String value) {
            addCriterion("RELATIONSHIP >", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipGreaterThanOrEqualTo(String value) {
            addCriterion("RELATIONSHIP >=", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipLessThan(String value) {
            addCriterion("RELATIONSHIP <", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipLessThanOrEqualTo(String value) {
            addCriterion("RELATIONSHIP <=", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipLike(String value) {
            addCriterion("RELATIONSHIP like", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotLike(String value) {
            addCriterion("RELATIONSHIP not like", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipIn(List<String> values) {
            addCriterion("RELATIONSHIP in", values, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotIn(List<String> values) {
            addCriterion("RELATIONSHIP not in", values, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipBetween(String value1, String value2) {
            addCriterion("RELATIONSHIP between", value1, value2, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotBetween(String value1, String value2) {
            addCriterion("RELATIONSHIP not between", value1, value2, "relationship");
            return (Criteria) this;
        }

        public Criteria andAgentTeamIsNull() {
            addCriterion("AGENT_TEAM is null");
            return (Criteria) this;
        }

        public Criteria andAgentTeamIsNotNull() {
            addCriterion("AGENT_TEAM is not null");
            return (Criteria) this;
        }

        public Criteria andAgentTeamEqualTo(String value) {
            addCriterion("AGENT_TEAM =", value, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andAgentTeamNotEqualTo(String value) {
            addCriterion("AGENT_TEAM <>", value, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andAgentTeamGreaterThan(String value) {
            addCriterion("AGENT_TEAM >", value, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andAgentTeamGreaterThanOrEqualTo(String value) {
            addCriterion("AGENT_TEAM >=", value, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andAgentTeamLessThan(String value) {
            addCriterion("AGENT_TEAM <", value, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andAgentTeamLessThanOrEqualTo(String value) {
            addCriterion("AGENT_TEAM <=", value, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andAgentTeamLike(String value) {
            addCriterion("AGENT_TEAM like", value, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andAgentTeamNotLike(String value) {
            addCriterion("AGENT_TEAM not like", value, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andAgentTeamIn(List<String> values) {
            addCriterion("AGENT_TEAM in", values, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andAgentTeamNotIn(List<String> values) {
            addCriterion("AGENT_TEAM not in", values, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andAgentTeamBetween(String value1, String value2) {
            addCriterion("AGENT_TEAM between", value1, value2, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andAgentTeamNotBetween(String value1, String value2) {
            addCriterion("AGENT_TEAM not between", value1, value2, "agentTeam");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIsNull() {
            addCriterion("POLICY_OWNER is null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIsNotNull() {
            addCriterion("POLICY_OWNER is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerEqualTo(String value) {
            addCriterion("POLICY_OWNER =", value, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerNotEqualTo(String value) {
            addCriterion("POLICY_OWNER <>", value, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerGreaterThan(String value) {
            addCriterion("POLICY_OWNER >", value, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerGreaterThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER >=", value, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerLessThan(String value) {
            addCriterion("POLICY_OWNER <", value, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerLessThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER <=", value, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerLike(String value) {
            addCriterion("POLICY_OWNER like", value, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerNotLike(String value) {
            addCriterion("POLICY_OWNER not like", value, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIn(List<String> values) {
            addCriterion("POLICY_OWNER in", values, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerNotIn(List<String> values) {
            addCriterion("POLICY_OWNER not in", values, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER between", value1, value2, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerNotBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER not between", value1, value2, "policyOwner");
            return (Criteria) this;
        }

        public Criteria andBloodTypeIsNull() {
            addCriterion("BLOOD_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andBloodTypeIsNotNull() {
            addCriterion("BLOOD_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andBloodTypeEqualTo(String value) {
            addCriterion("BLOOD_TYPE =", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeNotEqualTo(String value) {
            addCriterion("BLOOD_TYPE <>", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeGreaterThan(String value) {
            addCriterion("BLOOD_TYPE >", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeGreaterThanOrEqualTo(String value) {
            addCriterion("BLOOD_TYPE >=", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeLessThan(String value) {
            addCriterion("BLOOD_TYPE <", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeLessThanOrEqualTo(String value) {
            addCriterion("BLOOD_TYPE <=", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeLike(String value) {
            addCriterion("BLOOD_TYPE like", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeNotLike(String value) {
            addCriterion("BLOOD_TYPE not like", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeIn(List<String> values) {
            addCriterion("BLOOD_TYPE in", values, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeNotIn(List<String> values) {
            addCriterion("BLOOD_TYPE not in", values, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeBetween(String value1, String value2) {
            addCriterion("BLOOD_TYPE between", value1, value2, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeNotBetween(String value1, String value2) {
            addCriterion("BLOOD_TYPE not between", value1, value2, "bloodType");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("WEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("WEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(BigDecimal value) {
            addCriterion("WEIGHT =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(BigDecimal value) {
            addCriterion("WEIGHT <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(BigDecimal value) {
            addCriterion("WEIGHT >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("WEIGHT >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(BigDecimal value) {
            addCriterion("WEIGHT <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("WEIGHT <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<BigDecimal> values) {
            addCriterion("WEIGHT in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<BigDecimal> values) {
            addCriterion("WEIGHT not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WEIGHT between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WEIGHT not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andHeightIsNull() {
            addCriterion("HEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andHeightIsNotNull() {
            addCriterion("HEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andHeightEqualTo(BigDecimal value) {
            addCriterion("HEIGHT =", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotEqualTo(BigDecimal value) {
            addCriterion("HEIGHT <>", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightGreaterThan(BigDecimal value) {
            addCriterion("HEIGHT >", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("HEIGHT >=", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightLessThan(BigDecimal value) {
            addCriterion("HEIGHT <", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("HEIGHT <=", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightIn(List<BigDecimal> values) {
            addCriterion("HEIGHT in", values, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotIn(List<BigDecimal> values) {
            addCriterion("HEIGHT not in", values, "height");
            return (Criteria) this;
        }

        public Criteria andHeightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("HEIGHT between", value1, value2, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("HEIGHT not between", value1, value2, "height");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1IsNull() {
            addCriterion("PRE_DIAGNOSIS1 is null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1IsNotNull() {
            addCriterion("PRE_DIAGNOSIS1 is not null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1EqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS1 =", value, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1NotEqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS1 <>", value, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1GreaterThan(String value) {
            addCriterion("PRE_DIAGNOSIS1 >", value, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1GreaterThanOrEqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS1 >=", value, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1LessThan(String value) {
            addCriterion("PRE_DIAGNOSIS1 <", value, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1LessThanOrEqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS1 <=", value, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1Like(String value) {
            addCriterion("PRE_DIAGNOSIS1 like", value, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1NotLike(String value) {
            addCriterion("PRE_DIAGNOSIS1 not like", value, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1In(List<String> values) {
            addCriterion("PRE_DIAGNOSIS1 in", values, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1NotIn(List<String> values) {
            addCriterion("PRE_DIAGNOSIS1 not in", values, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1Between(String value1, String value2) {
            addCriterion("PRE_DIAGNOSIS1 between", value1, value2, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1NotBetween(String value1, String value2) {
            addCriterion("PRE_DIAGNOSIS1 not between", value1, value2, "preDiagnosis1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceIsNull() {
            addCriterion("PRE_DIAGNOSIS1_SINCE is null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceIsNotNull() {
            addCriterion("PRE_DIAGNOSIS1_SINCE is not null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS1_SINCE =", value, "preDiagnosis1Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceNotEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS1_SINCE <>", value, "preDiagnosis1Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceGreaterThan(Date value) {
            addCriterion("PRE_DIAGNOSIS1_SINCE >", value, "preDiagnosis1Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceGreaterThanOrEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS1_SINCE >=", value, "preDiagnosis1Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceLessThan(Date value) {
            addCriterion("PRE_DIAGNOSIS1_SINCE <", value, "preDiagnosis1Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceLessThanOrEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS1_SINCE <=", value, "preDiagnosis1Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceIn(List<Date> values) {
            addCriterion("PRE_DIAGNOSIS1_SINCE in", values, "preDiagnosis1Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceNotIn(List<Date> values) {
            addCriterion("PRE_DIAGNOSIS1_SINCE not in", values, "preDiagnosis1Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceBetween(Date value1, Date value2) {
            addCriterion("PRE_DIAGNOSIS1_SINCE between", value1, value2, "preDiagnosis1Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis1SinceNotBetween(Date value1, Date value2) {
            addCriterion("PRE_DIAGNOSIS1_SINCE not between", value1, value2, "preDiagnosis1Since");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1IsNull() {
            addCriterion("PRE_TREATMENT1 is null");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1IsNotNull() {
            addCriterion("PRE_TREATMENT1 is not null");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1EqualTo(String value) {
            addCriterion("PRE_TREATMENT1 =", value, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1NotEqualTo(String value) {
            addCriterion("PRE_TREATMENT1 <>", value, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1GreaterThan(String value) {
            addCriterion("PRE_TREATMENT1 >", value, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1GreaterThanOrEqualTo(String value) {
            addCriterion("PRE_TREATMENT1 >=", value, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1LessThan(String value) {
            addCriterion("PRE_TREATMENT1 <", value, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1LessThanOrEqualTo(String value) {
            addCriterion("PRE_TREATMENT1 <=", value, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1Like(String value) {
            addCriterion("PRE_TREATMENT1 like", value, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1NotLike(String value) {
            addCriterion("PRE_TREATMENT1 not like", value, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1In(List<String> values) {
            addCriterion("PRE_TREATMENT1 in", values, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1NotIn(List<String> values) {
            addCriterion("PRE_TREATMENT1 not in", values, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1Between(String value1, String value2) {
            addCriterion("PRE_TREATMENT1 between", value1, value2, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreTreatment1NotBetween(String value1, String value2) {
            addCriterion("PRE_TREATMENT1 not between", value1, value2, "preTreatment1");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2IsNull() {
            addCriterion("PRE_DIAGNOSIS2 is null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2IsNotNull() {
            addCriterion("PRE_DIAGNOSIS2 is not null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2EqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS2 =", value, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2NotEqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS2 <>", value, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2GreaterThan(String value) {
            addCriterion("PRE_DIAGNOSIS2 >", value, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2GreaterThanOrEqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS2 >=", value, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2LessThan(String value) {
            addCriterion("PRE_DIAGNOSIS2 <", value, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2LessThanOrEqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS2 <=", value, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2Like(String value) {
            addCriterion("PRE_DIAGNOSIS2 like", value, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2NotLike(String value) {
            addCriterion("PRE_DIAGNOSIS2 not like", value, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2In(List<String> values) {
            addCriterion("PRE_DIAGNOSIS2 in", values, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2NotIn(List<String> values) {
            addCriterion("PRE_DIAGNOSIS2 not in", values, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2Between(String value1, String value2) {
            addCriterion("PRE_DIAGNOSIS2 between", value1, value2, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2NotBetween(String value1, String value2) {
            addCriterion("PRE_DIAGNOSIS2 not between", value1, value2, "preDiagnosis2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceIsNull() {
            addCriterion("PRE_DIAGNOSIS2_SINCE is null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceIsNotNull() {
            addCriterion("PRE_DIAGNOSIS2_SINCE is not null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS2_SINCE =", value, "preDiagnosis2Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceNotEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS2_SINCE <>", value, "preDiagnosis2Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceGreaterThan(Date value) {
            addCriterion("PRE_DIAGNOSIS2_SINCE >", value, "preDiagnosis2Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceGreaterThanOrEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS2_SINCE >=", value, "preDiagnosis2Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceLessThan(Date value) {
            addCriterion("PRE_DIAGNOSIS2_SINCE <", value, "preDiagnosis2Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceLessThanOrEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS2_SINCE <=", value, "preDiagnosis2Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceIn(List<Date> values) {
            addCriterion("PRE_DIAGNOSIS2_SINCE in", values, "preDiagnosis2Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceNotIn(List<Date> values) {
            addCriterion("PRE_DIAGNOSIS2_SINCE not in", values, "preDiagnosis2Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceBetween(Date value1, Date value2) {
            addCriterion("PRE_DIAGNOSIS2_SINCE between", value1, value2, "preDiagnosis2Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis2SinceNotBetween(Date value1, Date value2) {
            addCriterion("PRE_DIAGNOSIS2_SINCE not between", value1, value2, "preDiagnosis2Since");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2IsNull() {
            addCriterion("PRE_TREATMENT2 is null");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2IsNotNull() {
            addCriterion("PRE_TREATMENT2 is not null");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2EqualTo(String value) {
            addCriterion("PRE_TREATMENT2 =", value, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2NotEqualTo(String value) {
            addCriterion("PRE_TREATMENT2 <>", value, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2GreaterThan(String value) {
            addCriterion("PRE_TREATMENT2 >", value, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2GreaterThanOrEqualTo(String value) {
            addCriterion("PRE_TREATMENT2 >=", value, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2LessThan(String value) {
            addCriterion("PRE_TREATMENT2 <", value, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2LessThanOrEqualTo(String value) {
            addCriterion("PRE_TREATMENT2 <=", value, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2Like(String value) {
            addCriterion("PRE_TREATMENT2 like", value, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2NotLike(String value) {
            addCriterion("PRE_TREATMENT2 not like", value, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2In(List<String> values) {
            addCriterion("PRE_TREATMENT2 in", values, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2NotIn(List<String> values) {
            addCriterion("PRE_TREATMENT2 not in", values, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2Between(String value1, String value2) {
            addCriterion("PRE_TREATMENT2 between", value1, value2, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreTreatment2NotBetween(String value1, String value2) {
            addCriterion("PRE_TREATMENT2 not between", value1, value2, "preTreatment2");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3IsNull() {
            addCriterion("PRE_DIAGNOSIS3 is null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3IsNotNull() {
            addCriterion("PRE_DIAGNOSIS3 is not null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3EqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS3 =", value, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3NotEqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS3 <>", value, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3GreaterThan(String value) {
            addCriterion("PRE_DIAGNOSIS3 >", value, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3GreaterThanOrEqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS3 >=", value, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3LessThan(String value) {
            addCriterion("PRE_DIAGNOSIS3 <", value, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3LessThanOrEqualTo(String value) {
            addCriterion("PRE_DIAGNOSIS3 <=", value, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3Like(String value) {
            addCriterion("PRE_DIAGNOSIS3 like", value, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3NotLike(String value) {
            addCriterion("PRE_DIAGNOSIS3 not like", value, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3In(List<String> values) {
            addCriterion("PRE_DIAGNOSIS3 in", values, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3NotIn(List<String> values) {
            addCriterion("PRE_DIAGNOSIS3 not in", values, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3Between(String value1, String value2) {
            addCriterion("PRE_DIAGNOSIS3 between", value1, value2, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3NotBetween(String value1, String value2) {
            addCriterion("PRE_DIAGNOSIS3 not between", value1, value2, "preDiagnosis3");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceIsNull() {
            addCriterion("PRE_DIAGNOSIS3_SINCE is null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceIsNotNull() {
            addCriterion("PRE_DIAGNOSIS3_SINCE is not null");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS3_SINCE =", value, "preDiagnosis3Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceNotEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS3_SINCE <>", value, "preDiagnosis3Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceGreaterThan(Date value) {
            addCriterion("PRE_DIAGNOSIS3_SINCE >", value, "preDiagnosis3Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceGreaterThanOrEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS3_SINCE >=", value, "preDiagnosis3Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceLessThan(Date value) {
            addCriterion("PRE_DIAGNOSIS3_SINCE <", value, "preDiagnosis3Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceLessThanOrEqualTo(Date value) {
            addCriterion("PRE_DIAGNOSIS3_SINCE <=", value, "preDiagnosis3Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceIn(List<Date> values) {
            addCriterion("PRE_DIAGNOSIS3_SINCE in", values, "preDiagnosis3Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceNotIn(List<Date> values) {
            addCriterion("PRE_DIAGNOSIS3_SINCE not in", values, "preDiagnosis3Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceBetween(Date value1, Date value2) {
            addCriterion("PRE_DIAGNOSIS3_SINCE between", value1, value2, "preDiagnosis3Since");
            return (Criteria) this;
        }

        public Criteria andPreDiagnosis3SinceNotBetween(Date value1, Date value2) {
            addCriterion("PRE_DIAGNOSIS3_SINCE not between", value1, value2, "preDiagnosis3Since");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3IsNull() {
            addCriterion("PRE_TREATMENT3 is null");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3IsNotNull() {
            addCriterion("PRE_TREATMENT3 is not null");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3EqualTo(String value) {
            addCriterion("PRE_TREATMENT3 =", value, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3NotEqualTo(String value) {
            addCriterion("PRE_TREATMENT3 <>", value, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3GreaterThan(String value) {
            addCriterion("PRE_TREATMENT3 >", value, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3GreaterThanOrEqualTo(String value) {
            addCriterion("PRE_TREATMENT3 >=", value, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3LessThan(String value) {
            addCriterion("PRE_TREATMENT3 <", value, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3LessThanOrEqualTo(String value) {
            addCriterion("PRE_TREATMENT3 <=", value, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3Like(String value) {
            addCriterion("PRE_TREATMENT3 like", value, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3NotLike(String value) {
            addCriterion("PRE_TREATMENT3 not like", value, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3In(List<String> values) {
            addCriterion("PRE_TREATMENT3 in", values, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3NotIn(List<String> values) {
            addCriterion("PRE_TREATMENT3 not in", values, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3Between(String value1, String value2) {
            addCriterion("PRE_TREATMENT3 between", value1, value2, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andPreTreatment3NotBetween(String value1, String value2) {
            addCriterion("PRE_TREATMENT3 not between", value1, value2, "preTreatment3");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugIsNull() {
            addCriterion("ALLERGY_DRUG is null");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugIsNotNull() {
            addCriterion("ALLERGY_DRUG is not null");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugEqualTo(String value) {
            addCriterion("ALLERGY_DRUG =", value, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugNotEqualTo(String value) {
            addCriterion("ALLERGY_DRUG <>", value, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugGreaterThan(String value) {
            addCriterion("ALLERGY_DRUG >", value, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugGreaterThanOrEqualTo(String value) {
            addCriterion("ALLERGY_DRUG >=", value, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugLessThan(String value) {
            addCriterion("ALLERGY_DRUG <", value, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugLessThanOrEqualTo(String value) {
            addCriterion("ALLERGY_DRUG <=", value, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugLike(String value) {
            addCriterion("ALLERGY_DRUG like", value, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugNotLike(String value) {
            addCriterion("ALLERGY_DRUG not like", value, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugIn(List<String> values) {
            addCriterion("ALLERGY_DRUG in", values, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugNotIn(List<String> values) {
            addCriterion("ALLERGY_DRUG not in", values, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugBetween(String value1, String value2) {
            addCriterion("ALLERGY_DRUG between", value1, value2, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyDrugNotBetween(String value1, String value2) {
            addCriterion("ALLERGY_DRUG not between", value1, value2, "allergyDrug");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersIsNull() {
            addCriterion("ALLERGY_OTHERS is null");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersIsNotNull() {
            addCriterion("ALLERGY_OTHERS is not null");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersEqualTo(String value) {
            addCriterion("ALLERGY_OTHERS =", value, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersNotEqualTo(String value) {
            addCriterion("ALLERGY_OTHERS <>", value, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersGreaterThan(String value) {
            addCriterion("ALLERGY_OTHERS >", value, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersGreaterThanOrEqualTo(String value) {
            addCriterion("ALLERGY_OTHERS >=", value, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersLessThan(String value) {
            addCriterion("ALLERGY_OTHERS <", value, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersLessThanOrEqualTo(String value) {
            addCriterion("ALLERGY_OTHERS <=", value, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersLike(String value) {
            addCriterion("ALLERGY_OTHERS like", value, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersNotLike(String value) {
            addCriterion("ALLERGY_OTHERS not like", value, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersIn(List<String> values) {
            addCriterion("ALLERGY_OTHERS in", values, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersNotIn(List<String> values) {
            addCriterion("ALLERGY_OTHERS not in", values, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersBetween(String value1, String value2) {
            addCriterion("ALLERGY_OTHERS between", value1, value2, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAllergyOthersNotBetween(String value1, String value2) {
            addCriterion("ALLERGY_OTHERS not between", value1, value2, "allergyOthers");
            return (Criteria) this;
        }

        public Criteria andAgentUnitIsNull() {
            addCriterion("AGENT_UNIT is null");
            return (Criteria) this;
        }

        public Criteria andAgentUnitIsNotNull() {
            addCriterion("AGENT_UNIT is not null");
            return (Criteria) this;
        }

        public Criteria andAgentUnitEqualTo(String value) {
            addCriterion("AGENT_UNIT =", value, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andAgentUnitNotEqualTo(String value) {
            addCriterion("AGENT_UNIT <>", value, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andAgentUnitGreaterThan(String value) {
            addCriterion("AGENT_UNIT >", value, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andAgentUnitGreaterThanOrEqualTo(String value) {
            addCriterion("AGENT_UNIT >=", value, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andAgentUnitLessThan(String value) {
            addCriterion("AGENT_UNIT <", value, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andAgentUnitLessThanOrEqualTo(String value) {
            addCriterion("AGENT_UNIT <=", value, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andAgentUnitLike(String value) {
            addCriterion("AGENT_UNIT like", value, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andAgentUnitNotLike(String value) {
            addCriterion("AGENT_UNIT not like", value, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andAgentUnitIn(List<String> values) {
            addCriterion("AGENT_UNIT in", values, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andAgentUnitNotIn(List<String> values) {
            addCriterion("AGENT_UNIT not in", values, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andAgentUnitBetween(String value1, String value2) {
            addCriterion("AGENT_UNIT between", value1, value2, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andAgentUnitNotBetween(String value1, String value2) {
            addCriterion("AGENT_UNIT not between", value1, value2, "agentUnit");
            return (Criteria) this;
        }

        public Criteria andEnglishNameIsNull() {
            addCriterion("ENGLISH_NAME is null");
            return (Criteria) this;
        }

        public Criteria andEnglishNameIsNotNull() {
            addCriterion("ENGLISH_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andEnglishNameEqualTo(String value) {
            addCriterion("ENGLISH_NAME =", value, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishNameNotEqualTo(String value) {
            addCriterion("ENGLISH_NAME <>", value, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishNameGreaterThan(String value) {
            addCriterion("ENGLISH_NAME >", value, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishNameGreaterThanOrEqualTo(String value) {
            addCriterion("ENGLISH_NAME >=", value, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishNameLessThan(String value) {
            addCriterion("ENGLISH_NAME <", value, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishNameLessThanOrEqualTo(String value) {
            addCriterion("ENGLISH_NAME <=", value, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishNameLike(String value) {
            addCriterion("ENGLISH_NAME like", value, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishNameNotLike(String value) {
            addCriterion("ENGLISH_NAME not like", value, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishNameIn(List<String> values) {
            addCriterion("ENGLISH_NAME in", values, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishNameNotIn(List<String> values) {
            addCriterion("ENGLISH_NAME not in", values, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishNameBetween(String value1, String value2) {
            addCriterion("ENGLISH_NAME between", value1, value2, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishNameNotBetween(String value1, String value2) {
            addCriterion("ENGLISH_NAME not between", value1, value2, "englishName");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrIsNull() {
            addCriterion("ENGLISH_ADDR is null");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrIsNotNull() {
            addCriterion("ENGLISH_ADDR is not null");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrEqualTo(String value) {
            addCriterion("ENGLISH_ADDR =", value, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrNotEqualTo(String value) {
            addCriterion("ENGLISH_ADDR <>", value, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrGreaterThan(String value) {
            addCriterion("ENGLISH_ADDR >", value, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrGreaterThanOrEqualTo(String value) {
            addCriterion("ENGLISH_ADDR >=", value, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrLessThan(String value) {
            addCriterion("ENGLISH_ADDR <", value, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrLessThanOrEqualTo(String value) {
            addCriterion("ENGLISH_ADDR <=", value, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrLike(String value) {
            addCriterion("ENGLISH_ADDR like", value, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrNotLike(String value) {
            addCriterion("ENGLISH_ADDR not like", value, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrIn(List<String> values) {
            addCriterion("ENGLISH_ADDR in", values, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrNotIn(List<String> values) {
            addCriterion("ENGLISH_ADDR not in", values, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrBetween(String value1, String value2) {
            addCriterion("ENGLISH_ADDR between", value1, value2, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andEnglishAddrNotBetween(String value1, String value2) {
            addCriterion("ENGLISH_ADDR not between", value1, value2, "englishAddr");
            return (Criteria) this;
        }

        public Criteria andLoaDescIsNull() {
            addCriterion("LOA_DESC is null");
            return (Criteria) this;
        }

        public Criteria andLoaDescIsNotNull() {
            addCriterion("LOA_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andLoaDescEqualTo(String value) {
            addCriterion("LOA_DESC =", value, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andLoaDescNotEqualTo(String value) {
            addCriterion("LOA_DESC <>", value, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andLoaDescGreaterThan(String value) {
            addCriterion("LOA_DESC >", value, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andLoaDescGreaterThanOrEqualTo(String value) {
            addCriterion("LOA_DESC >=", value, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andLoaDescLessThan(String value) {
            addCriterion("LOA_DESC <", value, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andLoaDescLessThanOrEqualTo(String value) {
            addCriterion("LOA_DESC <=", value, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andLoaDescLike(String value) {
            addCriterion("LOA_DESC like", value, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andLoaDescNotLike(String value) {
            addCriterion("LOA_DESC not like", value, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andLoaDescIn(List<String> values) {
            addCriterion("LOA_DESC in", values, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andLoaDescNotIn(List<String> values) {
            addCriterion("LOA_DESC not in", values, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andLoaDescBetween(String value1, String value2) {
            addCriterion("LOA_DESC between", value1, value2, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andLoaDescNotBetween(String value1, String value2) {
            addCriterion("LOA_DESC not between", value1, value2, "loaDesc");
            return (Criteria) this;
        }

        public Criteria andPreferredNameIsNull() {
            addCriterion("PREFERRED_NAME is null");
            return (Criteria) this;
        }

        public Criteria andPreferredNameIsNotNull() {
            addCriterion("PREFERRED_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andPreferredNameEqualTo(String value) {
            addCriterion("PREFERRED_NAME =", value, "preferredName");
            return (Criteria) this;
        }

        public Criteria andPreferredNameNotEqualTo(String value) {
            addCriterion("PREFERRED_NAME <>", value, "preferredName");
            return (Criteria) this;
        }

        public Criteria andPreferredNameGreaterThan(String value) {
            addCriterion("PREFERRED_NAME >", value, "preferredName");
            return (Criteria) this;
        }

        public Criteria andPreferredNameGreaterThanOrEqualTo(String value) {
            addCriterion("PREFERRED_NAME >=", value, "preferredName");
            return (Criteria) this;
        }

        public Criteria andPreferredNameLessThan(String value) {
            addCriterion("PREFERRED_NAME <", value, "preferredName");
            return (Criteria) this;
        }

        public Criteria andPreferredNameLessThanOrEqualTo(String value) {
            addCriterion("PREFERRED_NAME <=", value, "preferredName");
            return (Criteria) this;
        }

        public Criteria andPreferredNameLike(String value) {
            addCriterion("PREFERRED_NAME like", value, "preferredName");
            return (Criteria) this;
        }

        public Criteria andPreferredNameNotLike(String value) {
            addCriterion("PREFERRED_NAME not like", value, "preferredName");
            return (Criteria) this;
        }

        public Criteria andPreferredNameIn(List<String> values) {
            addCriterion("PREFERRED_NAME in", values, "preferredName");
            return (Criteria) this;
        }

        public Criteria andPreferredNameNotIn(List<String> values) {
            addCriterion("PREFERRED_NAME not in", values, "preferredName");
            return (Criteria) this;
        }

        public Criteria andPreferredNameBetween(String value1, String value2) {
            addCriterion("PREFERRED_NAME between", value1, value2, "preferredName");
            return (Criteria) this;
        }

        public Criteria andPreferredNameNotBetween(String value1, String value2) {
            addCriterion("PREFERRED_NAME not between", value1, value2, "preferredName");
            return (Criteria) this;
        }

        public Criteria andRaceIsNull() {
            addCriterion("RACE is null");
            return (Criteria) this;
        }

        public Criteria andRaceIsNotNull() {
            addCriterion("RACE is not null");
            return (Criteria) this;
        }

        public Criteria andRaceEqualTo(String value) {
            addCriterion("RACE =", value, "race");
            return (Criteria) this;
        }

        public Criteria andRaceNotEqualTo(String value) {
            addCriterion("RACE <>", value, "race");
            return (Criteria) this;
        }

        public Criteria andRaceGreaterThan(String value) {
            addCriterion("RACE >", value, "race");
            return (Criteria) this;
        }

        public Criteria andRaceGreaterThanOrEqualTo(String value) {
            addCriterion("RACE >=", value, "race");
            return (Criteria) this;
        }

        public Criteria andRaceLessThan(String value) {
            addCriterion("RACE <", value, "race");
            return (Criteria) this;
        }

        public Criteria andRaceLessThanOrEqualTo(String value) {
            addCriterion("RACE <=", value, "race");
            return (Criteria) this;
        }

        public Criteria andRaceLike(String value) {
            addCriterion("RACE like", value, "race");
            return (Criteria) this;
        }

        public Criteria andRaceNotLike(String value) {
            addCriterion("RACE not like", value, "race");
            return (Criteria) this;
        }

        public Criteria andRaceIn(List<String> values) {
            addCriterion("RACE in", values, "race");
            return (Criteria) this;
        }

        public Criteria andRaceNotIn(List<String> values) {
            addCriterion("RACE not in", values, "race");
            return (Criteria) this;
        }

        public Criteria andRaceBetween(String value1, String value2) {
            addCriterion("RACE between", value1, value2, "race");
            return (Criteria) this;
        }

        public Criteria andRaceNotBetween(String value1, String value2) {
            addCriterion("RACE not between", value1, value2, "race");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateIsNull() {
            addCriterion("PREMIUM_PAID_DATE is null");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateIsNotNull() {
            addCriterion("PREMIUM_PAID_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateEqualTo(Date value) {
            addCriterion("PREMIUM_PAID_DATE =", value, "premiumPaidDate");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateNotEqualTo(Date value) {
            addCriterion("PREMIUM_PAID_DATE <>", value, "premiumPaidDate");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateGreaterThan(Date value) {
            addCriterion("PREMIUM_PAID_DATE >", value, "premiumPaidDate");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateGreaterThanOrEqualTo(Date value) {
            addCriterion("PREMIUM_PAID_DATE >=", value, "premiumPaidDate");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateLessThan(Date value) {
            addCriterion("PREMIUM_PAID_DATE <", value, "premiumPaidDate");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateLessThanOrEqualTo(Date value) {
            addCriterion("PREMIUM_PAID_DATE <=", value, "premiumPaidDate");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateIn(List<Date> values) {
            addCriterion("PREMIUM_PAID_DATE in", values, "premiumPaidDate");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateNotIn(List<Date> values) {
            addCriterion("PREMIUM_PAID_DATE not in", values, "premiumPaidDate");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateBetween(Date value1, Date value2) {
            addCriterion("PREMIUM_PAID_DATE between", value1, value2, "premiumPaidDate");
            return (Criteria) this;
        }

        public Criteria andPremiumPaidDateNotBetween(Date value1, Date value2) {
            addCriterion("PREMIUM_PAID_DATE not between", value1, value2, "premiumPaidDate");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoIsNull() {
            addCriterion("MASTER_POLICY_NO is null");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoIsNotNull() {
            addCriterion("MASTER_POLICY_NO is not null");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoEqualTo(String value) {
            addCriterion("MASTER_POLICY_NO =", value, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoNotEqualTo(String value) {
            addCriterion("MASTER_POLICY_NO <>", value, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoGreaterThan(String value) {
            addCriterion("MASTER_POLICY_NO >", value, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoGreaterThanOrEqualTo(String value) {
            addCriterion("MASTER_POLICY_NO >=", value, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoLessThan(String value) {
            addCriterion("MASTER_POLICY_NO <", value, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoLessThanOrEqualTo(String value) {
            addCriterion("MASTER_POLICY_NO <=", value, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoLike(String value) {
            addCriterion("MASTER_POLICY_NO like", value, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoNotLike(String value) {
            addCriterion("MASTER_POLICY_NO not like", value, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoIn(List<String> values) {
            addCriterion("MASTER_POLICY_NO in", values, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoNotIn(List<String> values) {
            addCriterion("MASTER_POLICY_NO not in", values, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoBetween(String value1, String value2) {
            addCriterion("MASTER_POLICY_NO between", value1, value2, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andMasterPolicyNoNotBetween(String value1, String value2) {
            addCriterion("MASTER_POLICY_NO not between", value1, value2, "masterPolicyNo");
            return (Criteria) this;
        }

        public Criteria andIdTypeIsNull() {
            addCriterion("ID_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andIdTypeIsNotNull() {
            addCriterion("ID_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andIdTypeEqualTo(String value) {
            addCriterion("ID_TYPE =", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeNotEqualTo(String value) {
            addCriterion("ID_TYPE <>", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeGreaterThan(String value) {
            addCriterion("ID_TYPE >", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ID_TYPE >=", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeLessThan(String value) {
            addCriterion("ID_TYPE <", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeLessThanOrEqualTo(String value) {
            addCriterion("ID_TYPE <=", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeLike(String value) {
            addCriterion("ID_TYPE like", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeNotLike(String value) {
            addCriterion("ID_TYPE not like", value, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeIn(List<String> values) {
            addCriterion("ID_TYPE in", values, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeNotIn(List<String> values) {
            addCriterion("ID_TYPE not in", values, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeBetween(String value1, String value2) {
            addCriterion("ID_TYPE between", value1, value2, "idType");
            return (Criteria) this;
        }

        public Criteria andIdTypeNotBetween(String value1, String value2) {
            addCriterion("ID_TYPE not between", value1, value2, "idType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeIsNull() {
            addCriterion("POLICY_OWNER_ID_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeIsNotNull() {
            addCriterion("POLICY_OWNER_ID_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeEqualTo(String value) {
            addCriterion("POLICY_OWNER_ID_TYPE =", value, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeNotEqualTo(String value) {
            addCriterion("POLICY_OWNER_ID_TYPE <>", value, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeGreaterThan(String value) {
            addCriterion("POLICY_OWNER_ID_TYPE >", value, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeGreaterThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_ID_TYPE >=", value, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeLessThan(String value) {
            addCriterion("POLICY_OWNER_ID_TYPE <", value, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeLessThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_ID_TYPE <=", value, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeLike(String value) {
            addCriterion("POLICY_OWNER_ID_TYPE like", value, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeNotLike(String value) {
            addCriterion("POLICY_OWNER_ID_TYPE not like", value, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeIn(List<String> values) {
            addCriterion("POLICY_OWNER_ID_TYPE in", values, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeNotIn(List<String> values) {
            addCriterion("POLICY_OWNER_ID_TYPE not in", values, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_ID_TYPE between", value1, value2, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdTypeNotBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_ID_TYPE not between", value1, value2, "policyOwnerIdType");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoIsNull() {
            addCriterion("POLICY_OWNER_ID_NO is null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoIsNotNull() {
            addCriterion("POLICY_OWNER_ID_NO is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoEqualTo(String value) {
            addCriterion("POLICY_OWNER_ID_NO =", value, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoNotEqualTo(String value) {
            addCriterion("POLICY_OWNER_ID_NO <>", value, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoGreaterThan(String value) {
            addCriterion("POLICY_OWNER_ID_NO >", value, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoGreaterThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_ID_NO >=", value, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoLessThan(String value) {
            addCriterion("POLICY_OWNER_ID_NO <", value, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoLessThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_ID_NO <=", value, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoLike(String value) {
            addCriterion("POLICY_OWNER_ID_NO like", value, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoNotLike(String value) {
            addCriterion("POLICY_OWNER_ID_NO not like", value, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoIn(List<String> values) {
            addCriterion("POLICY_OWNER_ID_NO in", values, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoNotIn(List<String> values) {
            addCriterion("POLICY_OWNER_ID_NO not in", values, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_ID_NO between", value1, value2, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerIdNoNotBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_ID_NO not between", value1, value2, "policyOwnerIdNo");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressIsNull() {
            addCriterion("POLICY_OWNER_ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressIsNotNull() {
            addCriterion("POLICY_OWNER_ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressEqualTo(String value) {
            addCriterion("POLICY_OWNER_ADDRESS =", value, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressNotEqualTo(String value) {
            addCriterion("POLICY_OWNER_ADDRESS <>", value, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressGreaterThan(String value) {
            addCriterion("POLICY_OWNER_ADDRESS >", value, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressGreaterThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_ADDRESS >=", value, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressLessThan(String value) {
            addCriterion("POLICY_OWNER_ADDRESS <", value, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressLessThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_ADDRESS <=", value, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressLike(String value) {
            addCriterion("POLICY_OWNER_ADDRESS like", value, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressNotLike(String value) {
            addCriterion("POLICY_OWNER_ADDRESS not like", value, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressIn(List<String> values) {
            addCriterion("POLICY_OWNER_ADDRESS in", values, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressNotIn(List<String> values) {
            addCriterion("POLICY_OWNER_ADDRESS not in", values, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_ADDRESS between", value1, value2, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerAddressNotBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_ADDRESS not between", value1, value2, "policyOwnerAddress");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1IsNull() {
            addCriterion("POLICY_OWNER_TEL_NO1 is null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1IsNotNull() {
            addCriterion("POLICY_OWNER_TEL_NO1 is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1EqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_NO1 =", value, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1NotEqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_NO1 <>", value, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1GreaterThan(String value) {
            addCriterion("POLICY_OWNER_TEL_NO1 >", value, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1GreaterThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_NO1 >=", value, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1LessThan(String value) {
            addCriterion("POLICY_OWNER_TEL_NO1 <", value, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1LessThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_NO1 <=", value, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1Like(String value) {
            addCriterion("POLICY_OWNER_TEL_NO1 like", value, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1NotLike(String value) {
            addCriterion("POLICY_OWNER_TEL_NO1 not like", value, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1In(List<String> values) {
            addCriterion("POLICY_OWNER_TEL_NO1 in", values, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1NotIn(List<String> values) {
            addCriterion("POLICY_OWNER_TEL_NO1 not in", values, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1Between(String value1, String value2) {
            addCriterion("POLICY_OWNER_TEL_NO1 between", value1, value2, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo1NotBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_TEL_NO1 not between", value1, value2, "policyOwnerTelNo1");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2IsNull() {
            addCriterion("POLICY_OWNER_TEL_NO2 is null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2IsNotNull() {
            addCriterion("POLICY_OWNER_TEL_NO2 is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2EqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_NO2 =", value, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2NotEqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_NO2 <>", value, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2GreaterThan(String value) {
            addCriterion("POLICY_OWNER_TEL_NO2 >", value, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2GreaterThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_NO2 >=", value, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2LessThan(String value) {
            addCriterion("POLICY_OWNER_TEL_NO2 <", value, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2LessThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_NO2 <=", value, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2Like(String value) {
            addCriterion("POLICY_OWNER_TEL_NO2 like", value, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2NotLike(String value) {
            addCriterion("POLICY_OWNER_TEL_NO2 not like", value, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2In(List<String> values) {
            addCriterion("POLICY_OWNER_TEL_NO2 in", values, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2NotIn(List<String> values) {
            addCriterion("POLICY_OWNER_TEL_NO2 not in", values, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2Between(String value1, String value2) {
            addCriterion("POLICY_OWNER_TEL_NO2 between", value1, value2, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelNo2NotBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_TEL_NO2 not between", value1, value2, "policyOwnerTelNo2");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileIsNull() {
            addCriterion("POLICY_OWNER_TEL_MOBILE is null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileIsNotNull() {
            addCriterion("POLICY_OWNER_TEL_MOBILE is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileEqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_MOBILE =", value, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileNotEqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_MOBILE <>", value, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileGreaterThan(String value) {
            addCriterion("POLICY_OWNER_TEL_MOBILE >", value, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileGreaterThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_MOBILE >=", value, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileLessThan(String value) {
            addCriterion("POLICY_OWNER_TEL_MOBILE <", value, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileLessThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_TEL_MOBILE <=", value, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileLike(String value) {
            addCriterion("POLICY_OWNER_TEL_MOBILE like", value, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileNotLike(String value) {
            addCriterion("POLICY_OWNER_TEL_MOBILE not like", value, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileIn(List<String> values) {
            addCriterion("POLICY_OWNER_TEL_MOBILE in", values, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileNotIn(List<String> values) {
            addCriterion("POLICY_OWNER_TEL_MOBILE not in", values, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_TEL_MOBILE between", value1, value2, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerTelMobileNotBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_TEL_MOBILE not between", value1, value2, "policyOwnerTelMobile");
            return (Criteria) this;
        }

        public Criteria andSmokerIsNull() {
            addCriterion("SMOKER is null");
            return (Criteria) this;
        }

        public Criteria andSmokerIsNotNull() {
            addCriterion("SMOKER is not null");
            return (Criteria) this;
        }

        public Criteria andSmokerEqualTo(String value) {
            addCriterion("SMOKER =", value, "smoker");
            return (Criteria) this;
        }

        public Criteria andSmokerNotEqualTo(String value) {
            addCriterion("SMOKER <>", value, "smoker");
            return (Criteria) this;
        }

        public Criteria andSmokerGreaterThan(String value) {
            addCriterion("SMOKER >", value, "smoker");
            return (Criteria) this;
        }

        public Criteria andSmokerGreaterThanOrEqualTo(String value) {
            addCriterion("SMOKER >=", value, "smoker");
            return (Criteria) this;
        }

        public Criteria andSmokerLessThan(String value) {
            addCriterion("SMOKER <", value, "smoker");
            return (Criteria) this;
        }

        public Criteria andSmokerLessThanOrEqualTo(String value) {
            addCriterion("SMOKER <=", value, "smoker");
            return (Criteria) this;
        }

        public Criteria andSmokerLike(String value) {
            addCriterion("SMOKER like", value, "smoker");
            return (Criteria) this;
        }

        public Criteria andSmokerNotLike(String value) {
            addCriterion("SMOKER not like", value, "smoker");
            return (Criteria) this;
        }

        public Criteria andSmokerIn(List<String> values) {
            addCriterion("SMOKER in", values, "smoker");
            return (Criteria) this;
        }

        public Criteria andSmokerNotIn(List<String> values) {
            addCriterion("SMOKER not in", values, "smoker");
            return (Criteria) this;
        }

        public Criteria andSmokerBetween(String value1, String value2) {
            addCriterion("SMOKER between", value1, value2, "smoker");
            return (Criteria) this;
        }

        public Criteria andSmokerNotBetween(String value1, String value2) {
            addCriterion("SMOKER not between", value1, value2, "smoker");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyIsNull() {
            addCriterion("THIRD_PARTY_POLICY is null");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyIsNotNull() {
            addCriterion("THIRD_PARTY_POLICY is not null");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyEqualTo(String value) {
            addCriterion("THIRD_PARTY_POLICY =", value, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyNotEqualTo(String value) {
            addCriterion("THIRD_PARTY_POLICY <>", value, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyGreaterThan(String value) {
            addCriterion("THIRD_PARTY_POLICY >", value, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyGreaterThanOrEqualTo(String value) {
            addCriterion("THIRD_PARTY_POLICY >=", value, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyLessThan(String value) {
            addCriterion("THIRD_PARTY_POLICY <", value, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyLessThanOrEqualTo(String value) {
            addCriterion("THIRD_PARTY_POLICY <=", value, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyLike(String value) {
            addCriterion("THIRD_PARTY_POLICY like", value, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyNotLike(String value) {
            addCriterion("THIRD_PARTY_POLICY not like", value, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyIn(List<String> values) {
            addCriterion("THIRD_PARTY_POLICY in", values, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyNotIn(List<String> values) {
            addCriterion("THIRD_PARTY_POLICY not in", values, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyBetween(String value1, String value2) {
            addCriterion("THIRD_PARTY_POLICY between", value1, value2, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andThirdPartyPolicyNotBetween(String value1, String value2) {
            addCriterion("THIRD_PARTY_POLICY not between", value1, value2, "thirdPartyPolicy");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeIsNull() {
            addCriterion("POLICY_ENDORSEMENT_CODE is null");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeIsNotNull() {
            addCriterion("POLICY_ENDORSEMENT_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeEqualTo(String value) {
            addCriterion("POLICY_ENDORSEMENT_CODE =", value, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeNotEqualTo(String value) {
            addCriterion("POLICY_ENDORSEMENT_CODE <>", value, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeGreaterThan(String value) {
            addCriterion("POLICY_ENDORSEMENT_CODE >", value, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeGreaterThanOrEqualTo(String value) {
            addCriterion("POLICY_ENDORSEMENT_CODE >=", value, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeLessThan(String value) {
            addCriterion("POLICY_ENDORSEMENT_CODE <", value, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeLessThanOrEqualTo(String value) {
            addCriterion("POLICY_ENDORSEMENT_CODE <=", value, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeLike(String value) {
            addCriterion("POLICY_ENDORSEMENT_CODE like", value, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeNotLike(String value) {
            addCriterion("POLICY_ENDORSEMENT_CODE not like", value, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeIn(List<String> values) {
            addCriterion("POLICY_ENDORSEMENT_CODE in", values, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeNotIn(List<String> values) {
            addCriterion("POLICY_ENDORSEMENT_CODE not in", values, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeBetween(String value1, String value2) {
            addCriterion("POLICY_ENDORSEMENT_CODE between", value1, value2, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andPolicyEndorsementCodeNotBetween(String value1, String value2) {
            addCriterion("POLICY_ENDORSEMENT_CODE not between", value1, value2, "policyEndorsementCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeIsNull() {
            addCriterion("ORIGIN_CODE is null");
            return (Criteria) this;
        }

        public Criteria andOriginCodeIsNotNull() {
            addCriterion("ORIGIN_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andOriginCodeEqualTo(String value) {
            addCriterion("ORIGIN_CODE =", value, "originCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeNotEqualTo(String value) {
            addCriterion("ORIGIN_CODE <>", value, "originCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeGreaterThan(String value) {
            addCriterion("ORIGIN_CODE >", value, "originCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ORIGIN_CODE >=", value, "originCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeLessThan(String value) {
            addCriterion("ORIGIN_CODE <", value, "originCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeLessThanOrEqualTo(String value) {
            addCriterion("ORIGIN_CODE <=", value, "originCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeLike(String value) {
            addCriterion("ORIGIN_CODE like", value, "originCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeNotLike(String value) {
            addCriterion("ORIGIN_CODE not like", value, "originCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeIn(List<String> values) {
            addCriterion("ORIGIN_CODE in", values, "originCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeNotIn(List<String> values) {
            addCriterion("ORIGIN_CODE not in", values, "originCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeBetween(String value1, String value2) {
            addCriterion("ORIGIN_CODE between", value1, value2, "originCode");
            return (Criteria) this;
        }

        public Criteria andOriginCodeNotBetween(String value1, String value2) {
            addCriterion("ORIGIN_CODE not between", value1, value2, "originCode");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateIsNull() {
            addCriterion("POLICY_STATUS_CHANGE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateIsNotNull() {
            addCriterion("POLICY_STATUS_CHANGE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateEqualTo(Date value) {
            addCriterion("POLICY_STATUS_CHANGE_DATE =", value, "policyStatusChangeDate");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateNotEqualTo(Date value) {
            addCriterion("POLICY_STATUS_CHANGE_DATE <>", value, "policyStatusChangeDate");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateGreaterThan(Date value) {
            addCriterion("POLICY_STATUS_CHANGE_DATE >", value, "policyStatusChangeDate");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateGreaterThanOrEqualTo(Date value) {
            addCriterion("POLICY_STATUS_CHANGE_DATE >=", value, "policyStatusChangeDate");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateLessThan(Date value) {
            addCriterion("POLICY_STATUS_CHANGE_DATE <", value, "policyStatusChangeDate");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateLessThanOrEqualTo(Date value) {
            addCriterion("POLICY_STATUS_CHANGE_DATE <=", value, "policyStatusChangeDate");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateIn(List<Date> values) {
            addCriterion("POLICY_STATUS_CHANGE_DATE in", values, "policyStatusChangeDate");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateNotIn(List<Date> values) {
            addCriterion("POLICY_STATUS_CHANGE_DATE not in", values, "policyStatusChangeDate");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateBetween(Date value1, Date value2) {
            addCriterion("POLICY_STATUS_CHANGE_DATE between", value1, value2, "policyStatusChangeDate");
            return (Criteria) this;
        }

        public Criteria andPolicyStatusChangeDateNotBetween(Date value1, Date value2) {
            addCriterion("POLICY_STATUS_CHANGE_DATE not between", value1, value2, "policyStatusChangeDate");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateIsNull() {
            addCriterion("POLICY_ISSUE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateIsNotNull() {
            addCriterion("POLICY_ISSUE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateEqualTo(Date value) {
            addCriterion("POLICY_ISSUE_DATE =", value, "policyIssueDate");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateNotEqualTo(Date value) {
            addCriterion("POLICY_ISSUE_DATE <>", value, "policyIssueDate");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateGreaterThan(Date value) {
            addCriterion("POLICY_ISSUE_DATE >", value, "policyIssueDate");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateGreaterThanOrEqualTo(Date value) {
            addCriterion("POLICY_ISSUE_DATE >=", value, "policyIssueDate");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateLessThan(Date value) {
            addCriterion("POLICY_ISSUE_DATE <", value, "policyIssueDate");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateLessThanOrEqualTo(Date value) {
            addCriterion("POLICY_ISSUE_DATE <=", value, "policyIssueDate");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateIn(List<Date> values) {
            addCriterion("POLICY_ISSUE_DATE in", values, "policyIssueDate");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateNotIn(List<Date> values) {
            addCriterion("POLICY_ISSUE_DATE not in", values, "policyIssueDate");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateBetween(Date value1, Date value2) {
            addCriterion("POLICY_ISSUE_DATE between", value1, value2, "policyIssueDate");
            return (Criteria) this;
        }

        public Criteria andPolicyIssueDateNotBetween(Date value1, Date value2) {
            addCriterion("POLICY_ISSUE_DATE not between", value1, value2, "policyIssueDate");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateIsNull() {
            addCriterion("POLICY_END_DATE is null");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateIsNotNull() {
            addCriterion("POLICY_END_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateEqualTo(Date value) {
            addCriterion("POLICY_END_DATE =", value, "policyEndDate");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateNotEqualTo(Date value) {
            addCriterion("POLICY_END_DATE <>", value, "policyEndDate");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateGreaterThan(Date value) {
            addCriterion("POLICY_END_DATE >", value, "policyEndDate");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("POLICY_END_DATE >=", value, "policyEndDate");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateLessThan(Date value) {
            addCriterion("POLICY_END_DATE <", value, "policyEndDate");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateLessThanOrEqualTo(Date value) {
            addCriterion("POLICY_END_DATE <=", value, "policyEndDate");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateIn(List<Date> values) {
            addCriterion("POLICY_END_DATE in", values, "policyEndDate");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateNotIn(List<Date> values) {
            addCriterion("POLICY_END_DATE not in", values, "policyEndDate");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateBetween(Date value1, Date value2) {
            addCriterion("POLICY_END_DATE between", value1, value2, "policyEndDate");
            return (Criteria) this;
        }

        public Criteria andPolicyEndDateNotBetween(Date value1, Date value2) {
            addCriterion("POLICY_END_DATE not between", value1, value2, "policyEndDate");
            return (Criteria) this;
        }

        public Criteria andClientIdIsNull() {
            addCriterion("CLIENT_ID is null");
            return (Criteria) this;
        }

        public Criteria andClientIdIsNotNull() {
            addCriterion("CLIENT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andClientIdEqualTo(String value) {
            addCriterion("CLIENT_ID =", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdNotEqualTo(String value) {
            addCriterion("CLIENT_ID <>", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdGreaterThan(String value) {
            addCriterion("CLIENT_ID >", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdGreaterThanOrEqualTo(String value) {
            addCriterion("CLIENT_ID >=", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdLessThan(String value) {
            addCriterion("CLIENT_ID <", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdLessThanOrEqualTo(String value) {
            addCriterion("CLIENT_ID <=", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdLike(String value) {
            addCriterion("CLIENT_ID like", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdNotLike(String value) {
            addCriterion("CLIENT_ID not like", value, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdIn(List<String> values) {
            addCriterion("CLIENT_ID in", values, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdNotIn(List<String> values) {
            addCriterion("CLIENT_ID not in", values, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdBetween(String value1, String value2) {
            addCriterion("CLIENT_ID between", value1, value2, "clientId");
            return (Criteria) this;
        }

        public Criteria andClientIdNotBetween(String value1, String value2) {
            addCriterion("CLIENT_ID not between", value1, value2, "clientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdIsNull() {
            addCriterion("POLICY_OWNER_CLIENT_ID is null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdIsNotNull() {
            addCriterion("POLICY_OWNER_CLIENT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdEqualTo(String value) {
            addCriterion("POLICY_OWNER_CLIENT_ID =", value, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdNotEqualTo(String value) {
            addCriterion("POLICY_OWNER_CLIENT_ID <>", value, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdGreaterThan(String value) {
            addCriterion("POLICY_OWNER_CLIENT_ID >", value, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdGreaterThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_CLIENT_ID >=", value, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdLessThan(String value) {
            addCriterion("POLICY_OWNER_CLIENT_ID <", value, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdLessThanOrEqualTo(String value) {
            addCriterion("POLICY_OWNER_CLIENT_ID <=", value, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdLike(String value) {
            addCriterion("POLICY_OWNER_CLIENT_ID like", value, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdNotLike(String value) {
            addCriterion("POLICY_OWNER_CLIENT_ID not like", value, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdIn(List<String> values) {
            addCriterion("POLICY_OWNER_CLIENT_ID in", values, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdNotIn(List<String> values) {
            addCriterion("POLICY_OWNER_CLIENT_ID not in", values, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_CLIENT_ID between", value1, value2, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andPolicyOwnerClientIdNotBetween(String value1, String value2) {
            addCriterion("POLICY_OWNER_CLIENT_ID not between", value1, value2, "policyOwnerClientId");
            return (Criteria) this;
        }

        public Criteria andMemberStatusIsNull() {
            addCriterion("MEMBER_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andMemberStatusIsNotNull() {
            addCriterion("MEMBER_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andMemberStatusEqualTo(String value) {
            addCriterion("MEMBER_STATUS =", value, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberStatusNotEqualTo(String value) {
            addCriterion("MEMBER_STATUS <>", value, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberStatusGreaterThan(String value) {
            addCriterion("MEMBER_STATUS >", value, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberStatusGreaterThanOrEqualTo(String value) {
            addCriterion("MEMBER_STATUS >=", value, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberStatusLessThan(String value) {
            addCriterion("MEMBER_STATUS <", value, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberStatusLessThanOrEqualTo(String value) {
            addCriterion("MEMBER_STATUS <=", value, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberStatusLike(String value) {
            addCriterion("MEMBER_STATUS like", value, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberStatusNotLike(String value) {
            addCriterion("MEMBER_STATUS not like", value, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberStatusIn(List<String> values) {
            addCriterion("MEMBER_STATUS in", values, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberStatusNotIn(List<String> values) {
            addCriterion("MEMBER_STATUS not in", values, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberStatusBetween(String value1, String value2) {
            addCriterion("MEMBER_STATUS between", value1, value2, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberStatusNotBetween(String value1, String value2) {
            addCriterion("MEMBER_STATUS not between", value1, value2, "memberStatus");
            return (Criteria) this;
        }

        public Criteria andMemberClassIsNull() {
            addCriterion("MEMBER_CLASS is null");
            return (Criteria) this;
        }

        public Criteria andMemberClassIsNotNull() {
            addCriterion("MEMBER_CLASS is not null");
            return (Criteria) this;
        }

        public Criteria andMemberClassEqualTo(String value) {
            addCriterion("MEMBER_CLASS =", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassNotEqualTo(String value) {
            addCriterion("MEMBER_CLASS <>", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassGreaterThan(String value) {
            addCriterion("MEMBER_CLASS >", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassGreaterThanOrEqualTo(String value) {
            addCriterion("MEMBER_CLASS >=", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassLessThan(String value) {
            addCriterion("MEMBER_CLASS <", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassLessThanOrEqualTo(String value) {
            addCriterion("MEMBER_CLASS <=", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassLike(String value) {
            addCriterion("MEMBER_CLASS like", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassNotLike(String value) {
            addCriterion("MEMBER_CLASS not like", value, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassIn(List<String> values) {
            addCriterion("MEMBER_CLASS in", values, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassNotIn(List<String> values) {
            addCriterion("MEMBER_CLASS not in", values, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassBetween(String value1, String value2) {
            addCriterion("MEMBER_CLASS between", value1, value2, "memberClass");
            return (Criteria) this;
        }

        public Criteria andMemberClassNotBetween(String value1, String value2) {
            addCriterion("MEMBER_CLASS not between", value1, value2, "memberClass");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceIsNull() {
            addCriterion("BUSINESS_SOURCE is null");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceIsNotNull() {
            addCriterion("BUSINESS_SOURCE is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceEqualTo(String value) {
            addCriterion("BUSINESS_SOURCE =", value, "businessSource");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceNotEqualTo(String value) {
            addCriterion("BUSINESS_SOURCE <>", value, "businessSource");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceGreaterThan(String value) {
            addCriterion("BUSINESS_SOURCE >", value, "businessSource");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceGreaterThanOrEqualTo(String value) {
            addCriterion("BUSINESS_SOURCE >=", value, "businessSource");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceLessThan(String value) {
            addCriterion("BUSINESS_SOURCE <", value, "businessSource");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceLessThanOrEqualTo(String value) {
            addCriterion("BUSINESS_SOURCE <=", value, "businessSource");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceLike(String value) {
            addCriterion("BUSINESS_SOURCE like", value, "businessSource");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceNotLike(String value) {
            addCriterion("BUSINESS_SOURCE not like", value, "businessSource");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceIn(List<String> values) {
            addCriterion("BUSINESS_SOURCE in", values, "businessSource");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceNotIn(List<String> values) {
            addCriterion("BUSINESS_SOURCE not in", values, "businessSource");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceBetween(String value1, String value2) {
            addCriterion("BUSINESS_SOURCE between", value1, value2, "businessSource");
            return (Criteria) this;
        }

        public Criteria andBusinessSourceNotBetween(String value1, String value2) {
            addCriterion("BUSINESS_SOURCE not between", value1, value2, "businessSource");
            return (Criteria) this;
        }

        public Criteria andPremiumModeIsNull() {
            addCriterion("PREMIUM_MODE is null");
            return (Criteria) this;
        }

        public Criteria andPremiumModeIsNotNull() {
            addCriterion("PREMIUM_MODE is not null");
            return (Criteria) this;
        }

        public Criteria andPremiumModeEqualTo(String value) {
            addCriterion("PREMIUM_MODE =", value, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumModeNotEqualTo(String value) {
            addCriterion("PREMIUM_MODE <>", value, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumModeGreaterThan(String value) {
            addCriterion("PREMIUM_MODE >", value, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumModeGreaterThanOrEqualTo(String value) {
            addCriterion("PREMIUM_MODE >=", value, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumModeLessThan(String value) {
            addCriterion("PREMIUM_MODE <", value, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumModeLessThanOrEqualTo(String value) {
            addCriterion("PREMIUM_MODE <=", value, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumModeLike(String value) {
            addCriterion("PREMIUM_MODE like", value, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumModeNotLike(String value) {
            addCriterion("PREMIUM_MODE not like", value, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumModeIn(List<String> values) {
            addCriterion("PREMIUM_MODE in", values, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumModeNotIn(List<String> values) {
            addCriterion("PREMIUM_MODE not in", values, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumModeBetween(String value1, String value2) {
            addCriterion("PREMIUM_MODE between", value1, value2, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumModeNotBetween(String value1, String value2) {
            addCriterion("PREMIUM_MODE not between", value1, value2, "premiumMode");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyIsNull() {
            addCriterion("PREMIUM_FREQUENCY is null");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyIsNotNull() {
            addCriterion("PREMIUM_FREQUENCY is not null");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyEqualTo(String value) {
            addCriterion("PREMIUM_FREQUENCY =", value, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyNotEqualTo(String value) {
            addCriterion("PREMIUM_FREQUENCY <>", value, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyGreaterThan(String value) {
            addCriterion("PREMIUM_FREQUENCY >", value, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyGreaterThanOrEqualTo(String value) {
            addCriterion("PREMIUM_FREQUENCY >=", value, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyLessThan(String value) {
            addCriterion("PREMIUM_FREQUENCY <", value, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyLessThanOrEqualTo(String value) {
            addCriterion("PREMIUM_FREQUENCY <=", value, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyLike(String value) {
            addCriterion("PREMIUM_FREQUENCY like", value, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyNotLike(String value) {
            addCriterion("PREMIUM_FREQUENCY not like", value, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyIn(List<String> values) {
            addCriterion("PREMIUM_FREQUENCY in", values, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyNotIn(List<String> values) {
            addCriterion("PREMIUM_FREQUENCY not in", values, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyBetween(String value1, String value2) {
            addCriterion("PREMIUM_FREQUENCY between", value1, value2, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumFrequencyNotBetween(String value1, String value2) {
            addCriterion("PREMIUM_FREQUENCY not between", value1, value2, "premiumFrequency");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateIsNull() {
            addCriterion("PREMIUM_GRACE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateIsNotNull() {
            addCriterion("PREMIUM_GRACE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateEqualTo(Date value) {
            addCriterion("PREMIUM_GRACE_DATE =", value, "premiumGraceDate");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateNotEqualTo(Date value) {
            addCriterion("PREMIUM_GRACE_DATE <>", value, "premiumGraceDate");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateGreaterThan(Date value) {
            addCriterion("PREMIUM_GRACE_DATE >", value, "premiumGraceDate");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateGreaterThanOrEqualTo(Date value) {
            addCriterion("PREMIUM_GRACE_DATE >=", value, "premiumGraceDate");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateLessThan(Date value) {
            addCriterion("PREMIUM_GRACE_DATE <", value, "premiumGraceDate");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateLessThanOrEqualTo(Date value) {
            addCriterion("PREMIUM_GRACE_DATE <=", value, "premiumGraceDate");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateIn(List<Date> values) {
            addCriterion("PREMIUM_GRACE_DATE in", values, "premiumGraceDate");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateNotIn(List<Date> values) {
            addCriterion("PREMIUM_GRACE_DATE not in", values, "premiumGraceDate");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateBetween(Date value1, Date value2) {
            addCriterion("PREMIUM_GRACE_DATE between", value1, value2, "premiumGraceDate");
            return (Criteria) this;
        }

        public Criteria andPremiumGraceDateNotBetween(Date value1, Date value2) {
            addCriterion("PREMIUM_GRACE_DATE not between", value1, value2, "premiumGraceDate");
            return (Criteria) this;
        }

        public Criteria andBankcdIsNull() {
            addCriterion("BANKCD is null");
            return (Criteria) this;
        }

        public Criteria andBankcdIsNotNull() {
            addCriterion("BANKCD is not null");
            return (Criteria) this;
        }

        public Criteria andBankcdEqualTo(String value) {
            addCriterion("BANKCD =", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdNotEqualTo(String value) {
            addCriterion("BANKCD <>", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdGreaterThan(String value) {
            addCriterion("BANKCD >", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdGreaterThanOrEqualTo(String value) {
            addCriterion("BANKCD >=", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdLessThan(String value) {
            addCriterion("BANKCD <", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdLessThanOrEqualTo(String value) {
            addCriterion("BANKCD <=", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdLike(String value) {
            addCriterion("BANKCD like", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdNotLike(String value) {
            addCriterion("BANKCD not like", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdIn(List<String> values) {
            addCriterion("BANKCD in", values, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdNotIn(List<String> values) {
            addCriterion("BANKCD not in", values, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdBetween(String value1, String value2) {
            addCriterion("BANKCD between", value1, value2, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdNotBetween(String value1, String value2) {
            addCriterion("BANKCD not between", value1, value2, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBanknmIsNull() {
            addCriterion("BANKNM is null");
            return (Criteria) this;
        }

        public Criteria andBanknmIsNotNull() {
            addCriterion("BANKNM is not null");
            return (Criteria) this;
        }

        public Criteria andBanknmEqualTo(Object value) {
            addCriterion("BANKNM =", value, "banknm");
            return (Criteria) this;
        }

        public Criteria andBanknmNotEqualTo(Object value) {
            addCriterion("BANKNM <>", value, "banknm");
            return (Criteria) this;
        }

        public Criteria andBanknmGreaterThan(Object value) {
            addCriterion("BANKNM >", value, "banknm");
            return (Criteria) this;
        }

        public Criteria andBanknmGreaterThanOrEqualTo(Object value) {
            addCriterion("BANKNM >=", value, "banknm");
            return (Criteria) this;
        }

        public Criteria andBanknmLessThan(Object value) {
            addCriterion("BANKNM <", value, "banknm");
            return (Criteria) this;
        }

        public Criteria andBanknmLessThanOrEqualTo(Object value) {
            addCriterion("BANKNM <=", value, "banknm");
            return (Criteria) this;
        }

        public Criteria andBanknmIn(List<Object> values) {
            addCriterion("BANKNM in", values, "banknm");
            return (Criteria) this;
        }

        public Criteria andBanknmNotIn(List<Object> values) {
            addCriterion("BANKNM not in", values, "banknm");
            return (Criteria) this;
        }

        public Criteria andBanknmBetween(Object value1, Object value2) {
            addCriterion("BANKNM between", value1, value2, "banknm");
            return (Criteria) this;
        }

        public Criteria andBanknmNotBetween(Object value1, Object value2) {
            addCriterion("BANKNM not between", value1, value2, "banknm");
            return (Criteria) this;
        }

        public Criteria andBankaccnoIsNull() {
            addCriterion("BANKACCNO is null");
            return (Criteria) this;
        }

        public Criteria andBankaccnoIsNotNull() {
            addCriterion("BANKACCNO is not null");
            return (Criteria) this;
        }

        public Criteria andBankaccnoEqualTo(String value) {
            addCriterion("BANKACCNO =", value, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnoNotEqualTo(String value) {
            addCriterion("BANKACCNO <>", value, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnoGreaterThan(String value) {
            addCriterion("BANKACCNO >", value, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnoGreaterThanOrEqualTo(String value) {
            addCriterion("BANKACCNO >=", value, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnoLessThan(String value) {
            addCriterion("BANKACCNO <", value, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnoLessThanOrEqualTo(String value) {
            addCriterion("BANKACCNO <=", value, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnoLike(String value) {
            addCriterion("BANKACCNO like", value, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnoNotLike(String value) {
            addCriterion("BANKACCNO not like", value, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnoIn(List<String> values) {
            addCriterion("BANKACCNO in", values, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnoNotIn(List<String> values) {
            addCriterion("BANKACCNO not in", values, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnoBetween(String value1, String value2) {
            addCriterion("BANKACCNO between", value1, value2, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnoNotBetween(String value1, String value2) {
            addCriterion("BANKACCNO not between", value1, value2, "bankaccno");
            return (Criteria) this;
        }

        public Criteria andBankaccnmIsNull() {
            addCriterion("BANKACCNM is null");
            return (Criteria) this;
        }

        public Criteria andBankaccnmIsNotNull() {
            addCriterion("BANKACCNM is not null");
            return (Criteria) this;
        }

        public Criteria andBankaccnmEqualTo(Object value) {
            addCriterion("BANKACCNM =", value, "bankaccnm");
            return (Criteria) this;
        }

        public Criteria andBankaccnmNotEqualTo(Object value) {
            addCriterion("BANKACCNM <>", value, "bankaccnm");
            return (Criteria) this;
        }

        public Criteria andBankaccnmGreaterThan(Object value) {
            addCriterion("BANKACCNM >", value, "bankaccnm");
            return (Criteria) this;
        }

        public Criteria andBankaccnmGreaterThanOrEqualTo(Object value) {
            addCriterion("BANKACCNM >=", value, "bankaccnm");
            return (Criteria) this;
        }

        public Criteria andBankaccnmLessThan(Object value) {
            addCriterion("BANKACCNM <", value, "bankaccnm");
            return (Criteria) this;
        }

        public Criteria andBankaccnmLessThanOrEqualTo(Object value) {
            addCriterion("BANKACCNM <=", value, "bankaccnm");
            return (Criteria) this;
        }

        public Criteria andBankaccnmIn(List<Object> values) {
            addCriterion("BANKACCNM in", values, "bankaccnm");
            return (Criteria) this;
        }

        public Criteria andBankaccnmNotIn(List<Object> values) {
            addCriterion("BANKACCNM not in", values, "bankaccnm");
            return (Criteria) this;
        }

        public Criteria andBankaccnmBetween(Object value1, Object value2) {
            addCriterion("BANKACCNM between", value1, value2, "bankaccnm");
            return (Criteria) this;
        }

        public Criteria andBankaccnmNotBetween(Object value1, Object value2) {
            addCriterion("BANKACCNM not between", value1, value2, "bankaccnm");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdIsNull() {
            addCriterion("BANKBRHCD is null");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdIsNotNull() {
            addCriterion("BANKBRHCD is not null");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdEqualTo(String value) {
            addCriterion("BANKBRHCD =", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdNotEqualTo(String value) {
            addCriterion("BANKBRHCD <>", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdGreaterThan(String value) {
            addCriterion("BANKBRHCD >", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdGreaterThanOrEqualTo(String value) {
            addCriterion("BANKBRHCD >=", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdLessThan(String value) {
            addCriterion("BANKBRHCD <", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdLessThanOrEqualTo(String value) {
            addCriterion("BANKBRHCD <=", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdLike(String value) {
            addCriterion("BANKBRHCD like", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdNotLike(String value) {
            addCriterion("BANKBRHCD not like", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdIn(List<String> values) {
            addCriterion("BANKBRHCD in", values, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdNotIn(List<String> values) {
            addCriterion("BANKBRHCD not in", values, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdBetween(String value1, String value2) {
            addCriterion("BANKBRHCD between", value1, value2, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdNotBetween(String value1, String value2) {
            addCriterion("BANKBRHCD not between", value1, value2, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryIsNull() {
            addCriterion("RESTRICTED_COUNTRY is null");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryIsNotNull() {
            addCriterion("RESTRICTED_COUNTRY is not null");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryEqualTo(String value) {
            addCriterion("RESTRICTED_COUNTRY =", value, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryNotEqualTo(String value) {
            addCriterion("RESTRICTED_COUNTRY <>", value, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryGreaterThan(String value) {
            addCriterion("RESTRICTED_COUNTRY >", value, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryGreaterThanOrEqualTo(String value) {
            addCriterion("RESTRICTED_COUNTRY >=", value, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryLessThan(String value) {
            addCriterion("RESTRICTED_COUNTRY <", value, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryLessThanOrEqualTo(String value) {
            addCriterion("RESTRICTED_COUNTRY <=", value, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryLike(String value) {
            addCriterion("RESTRICTED_COUNTRY like", value, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryNotLike(String value) {
            addCriterion("RESTRICTED_COUNTRY not like", value, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryIn(List<String> values) {
            addCriterion("RESTRICTED_COUNTRY in", values, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryNotIn(List<String> values) {
            addCriterion("RESTRICTED_COUNTRY not in", values, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryBetween(String value1, String value2) {
            addCriterion("RESTRICTED_COUNTRY between", value1, value2, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andRestrictedCountryNotBetween(String value1, String value2) {
            addCriterion("RESTRICTED_COUNTRY not between", value1, value2, "restrictedCountry");
            return (Criteria) this;
        }

        public Criteria andDivisionIsNull() {
            addCriterion("DIVISION is null");
            return (Criteria) this;
        }

        public Criteria andDivisionIsNotNull() {
            addCriterion("DIVISION is not null");
            return (Criteria) this;
        }

        public Criteria andDivisionEqualTo(String value) {
            addCriterion("DIVISION =", value, "division");
            return (Criteria) this;
        }

        public Criteria andDivisionNotEqualTo(String value) {
            addCriterion("DIVISION <>", value, "division");
            return (Criteria) this;
        }

        public Criteria andDivisionGreaterThan(String value) {
            addCriterion("DIVISION >", value, "division");
            return (Criteria) this;
        }

        public Criteria andDivisionGreaterThanOrEqualTo(String value) {
            addCriterion("DIVISION >=", value, "division");
            return (Criteria) this;
        }

        public Criteria andDivisionLessThan(String value) {
            addCriterion("DIVISION <", value, "division");
            return (Criteria) this;
        }

        public Criteria andDivisionLessThanOrEqualTo(String value) {
            addCriterion("DIVISION <=", value, "division");
            return (Criteria) this;
        }

        public Criteria andDivisionLike(String value) {
            addCriterion("DIVISION like", value, "division");
            return (Criteria) this;
        }

        public Criteria andDivisionNotLike(String value) {
            addCriterion("DIVISION not like", value, "division");
            return (Criteria) this;
        }

        public Criteria andDivisionIn(List<String> values) {
            addCriterion("DIVISION in", values, "division");
            return (Criteria) this;
        }

        public Criteria andDivisionNotIn(List<String> values) {
            addCriterion("DIVISION not in", values, "division");
            return (Criteria) this;
        }

        public Criteria andDivisionBetween(String value1, String value2) {
            addCriterion("DIVISION between", value1, value2, "division");
            return (Criteria) this;
        }

        public Criteria andDivisionNotBetween(String value1, String value2) {
            addCriterion("DIVISION not between", value1, value2, "division");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentIsNull() {
            addCriterion("SUBDEPARTMENT is null");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentIsNotNull() {
            addCriterion("SUBDEPARTMENT is not null");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentEqualTo(String value) {
            addCriterion("SUBDEPARTMENT =", value, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentNotEqualTo(String value) {
            addCriterion("SUBDEPARTMENT <>", value, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentGreaterThan(String value) {
            addCriterion("SUBDEPARTMENT >", value, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("SUBDEPARTMENT >=", value, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentLessThan(String value) {
            addCriterion("SUBDEPARTMENT <", value, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentLessThanOrEqualTo(String value) {
            addCriterion("SUBDEPARTMENT <=", value, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentLike(String value) {
            addCriterion("SUBDEPARTMENT like", value, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentNotLike(String value) {
            addCriterion("SUBDEPARTMENT not like", value, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentIn(List<String> values) {
            addCriterion("SUBDEPARTMENT in", values, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentNotIn(List<String> values) {
            addCriterion("SUBDEPARTMENT not in", values, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentBetween(String value1, String value2) {
            addCriterion("SUBDEPARTMENT between", value1, value2, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andSubdepartmentNotBetween(String value1, String value2) {
            addCriterion("SUBDEPARTMENT not between", value1, value2, "subdepartment");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationIsNull() {
            addCriterion("EMPLOYMENT_LOCATION is null");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationIsNotNull() {
            addCriterion("EMPLOYMENT_LOCATION is not null");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationEqualTo(String value) {
            addCriterion("EMPLOYMENT_LOCATION =", value, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationNotEqualTo(String value) {
            addCriterion("EMPLOYMENT_LOCATION <>", value, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationGreaterThan(String value) {
            addCriterion("EMPLOYMENT_LOCATION >", value, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationGreaterThanOrEqualTo(String value) {
            addCriterion("EMPLOYMENT_LOCATION >=", value, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationLessThan(String value) {
            addCriterion("EMPLOYMENT_LOCATION <", value, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationLessThanOrEqualTo(String value) {
            addCriterion("EMPLOYMENT_LOCATION <=", value, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationLike(String value) {
            addCriterion("EMPLOYMENT_LOCATION like", value, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationNotLike(String value) {
            addCriterion("EMPLOYMENT_LOCATION not like", value, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationIn(List<String> values) {
            addCriterion("EMPLOYMENT_LOCATION in", values, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationNotIn(List<String> values) {
            addCriterion("EMPLOYMENT_LOCATION not in", values, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationBetween(String value1, String value2) {
            addCriterion("EMPLOYMENT_LOCATION between", value1, value2, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentLocationNotBetween(String value1, String value2) {
            addCriterion("EMPLOYMENT_LOCATION not between", value1, value2, "employmentLocation");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionIsNull() {
            addCriterion("EMPLOYMENT_REGION is null");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionIsNotNull() {
            addCriterion("EMPLOYMENT_REGION is not null");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionEqualTo(String value) {
            addCriterion("EMPLOYMENT_REGION =", value, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionNotEqualTo(String value) {
            addCriterion("EMPLOYMENT_REGION <>", value, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionGreaterThan(String value) {
            addCriterion("EMPLOYMENT_REGION >", value, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionGreaterThanOrEqualTo(String value) {
            addCriterion("EMPLOYMENT_REGION >=", value, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionLessThan(String value) {
            addCriterion("EMPLOYMENT_REGION <", value, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionLessThanOrEqualTo(String value) {
            addCriterion("EMPLOYMENT_REGION <=", value, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionLike(String value) {
            addCriterion("EMPLOYMENT_REGION like", value, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionNotLike(String value) {
            addCriterion("EMPLOYMENT_REGION not like", value, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionIn(List<String> values) {
            addCriterion("EMPLOYMENT_REGION in", values, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionNotIn(List<String> values) {
            addCriterion("EMPLOYMENT_REGION not in", values, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionBetween(String value1, String value2) {
            addCriterion("EMPLOYMENT_REGION between", value1, value2, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentRegionNotBetween(String value1, String value2) {
            addCriterion("EMPLOYMENT_REGION not between", value1, value2, "employmentRegion");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryIsNull() {
            addCriterion("EMPLOYMENT_CATEGORY is null");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryIsNotNull() {
            addCriterion("EMPLOYMENT_CATEGORY is not null");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryEqualTo(String value) {
            addCriterion("EMPLOYMENT_CATEGORY =", value, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryNotEqualTo(String value) {
            addCriterion("EMPLOYMENT_CATEGORY <>", value, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryGreaterThan(String value) {
            addCriterion("EMPLOYMENT_CATEGORY >", value, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryGreaterThanOrEqualTo(String value) {
            addCriterion("EMPLOYMENT_CATEGORY >=", value, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryLessThan(String value) {
            addCriterion("EMPLOYMENT_CATEGORY <", value, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryLessThanOrEqualTo(String value) {
            addCriterion("EMPLOYMENT_CATEGORY <=", value, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryLike(String value) {
            addCriterion("EMPLOYMENT_CATEGORY like", value, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryNotLike(String value) {
            addCriterion("EMPLOYMENT_CATEGORY not like", value, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryIn(List<String> values) {
            addCriterion("EMPLOYMENT_CATEGORY in", values, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryNotIn(List<String> values) {
            addCriterion("EMPLOYMENT_CATEGORY not in", values, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryBetween(String value1, String value2) {
            addCriterion("EMPLOYMENT_CATEGORY between", value1, value2, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andEmploymentCategoryNotBetween(String value1, String value2) {
            addCriterion("EMPLOYMENT_CATEGORY not between", value1, value2, "employmentCategory");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoIsNull() {
            addCriterion("MEMBER_CONTROL_NO is null");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoIsNotNull() {
            addCriterion("MEMBER_CONTROL_NO is not null");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoEqualTo(String value) {
            addCriterion("MEMBER_CONTROL_NO =", value, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoNotEqualTo(String value) {
            addCriterion("MEMBER_CONTROL_NO <>", value, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoGreaterThan(String value) {
            addCriterion("MEMBER_CONTROL_NO >", value, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoGreaterThanOrEqualTo(String value) {
            addCriterion("MEMBER_CONTROL_NO >=", value, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoLessThan(String value) {
            addCriterion("MEMBER_CONTROL_NO <", value, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoLessThanOrEqualTo(String value) {
            addCriterion("MEMBER_CONTROL_NO <=", value, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoLike(String value) {
            addCriterion("MEMBER_CONTROL_NO like", value, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoNotLike(String value) {
            addCriterion("MEMBER_CONTROL_NO not like", value, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoIn(List<String> values) {
            addCriterion("MEMBER_CONTROL_NO in", values, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoNotIn(List<String> values) {
            addCriterion("MEMBER_CONTROL_NO not in", values, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoBetween(String value1, String value2) {
            addCriterion("MEMBER_CONTROL_NO between", value1, value2, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andMemberControlNoNotBetween(String value1, String value2) {
            addCriterion("MEMBER_CONTROL_NO not between", value1, value2, "memberControlNo");
            return (Criteria) this;
        }

        public Criteria andInsertByIsNull() {
            addCriterion("INSERT_BY is null");
            return (Criteria) this;
        }

        public Criteria andInsertByIsNotNull() {
            addCriterion("INSERT_BY is not null");
            return (Criteria) this;
        }

        public Criteria andInsertByEqualTo(String value) {
            addCriterion("INSERT_BY =", value, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertByNotEqualTo(String value) {
            addCriterion("INSERT_BY <>", value, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertByGreaterThan(String value) {
            addCriterion("INSERT_BY >", value, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertByGreaterThanOrEqualTo(String value) {
            addCriterion("INSERT_BY >=", value, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertByLessThan(String value) {
            addCriterion("INSERT_BY <", value, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertByLessThanOrEqualTo(String value) {
            addCriterion("INSERT_BY <=", value, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertByLike(String value) {
            addCriterion("INSERT_BY like", value, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertByNotLike(String value) {
            addCriterion("INSERT_BY not like", value, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertByIn(List<String> values) {
            addCriterion("INSERT_BY in", values, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertByNotIn(List<String> values) {
            addCriterion("INSERT_BY not in", values, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertByBetween(String value1, String value2) {
            addCriterion("INSERT_BY between", value1, value2, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertByNotBetween(String value1, String value2) {
            addCriterion("INSERT_BY not between", value1, value2, "insertBy");
            return (Criteria) this;
        }

        public Criteria andInsertDateIsNull() {
            addCriterion("INSERT_DATE is null");
            return (Criteria) this;
        }

        public Criteria andInsertDateIsNotNull() {
            addCriterion("INSERT_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andInsertDateEqualTo(Date value) {
            addCriterion("INSERT_DATE =", value, "insertDate");
            return (Criteria) this;
        }

        public Criteria andInsertDateNotEqualTo(Date value) {
            addCriterion("INSERT_DATE <>", value, "insertDate");
            return (Criteria) this;
        }

        public Criteria andInsertDateGreaterThan(Date value) {
            addCriterion("INSERT_DATE >", value, "insertDate");
            return (Criteria) this;
        }

        public Criteria andInsertDateGreaterThanOrEqualTo(Date value) {
            addCriterion("INSERT_DATE >=", value, "insertDate");
            return (Criteria) this;
        }

        public Criteria andInsertDateLessThan(Date value) {
            addCriterion("INSERT_DATE <", value, "insertDate");
            return (Criteria) this;
        }

        public Criteria andInsertDateLessThanOrEqualTo(Date value) {
            addCriterion("INSERT_DATE <=", value, "insertDate");
            return (Criteria) this;
        }

        public Criteria andInsertDateIn(List<Date> values) {
            addCriterion("INSERT_DATE in", values, "insertDate");
            return (Criteria) this;
        }

        public Criteria andInsertDateNotIn(List<Date> values) {
            addCriterion("INSERT_DATE not in", values, "insertDate");
            return (Criteria) this;
        }

        public Criteria andInsertDateBetween(Date value1, Date value2) {
            addCriterion("INSERT_DATE between", value1, value2, "insertDate");
            return (Criteria) this;
        }

        public Criteria andInsertDateNotBetween(Date value1, Date value2) {
            addCriterion("INSERT_DATE not between", value1, value2, "insertDate");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseIsNull() {
            addCriterion("PAYOR_ENDORSE is null");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseIsNotNull() {
            addCriterion("PAYOR_ENDORSE is not null");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseEqualTo(String value) {
            addCriterion("PAYOR_ENDORSE =", value, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseNotEqualTo(String value) {
            addCriterion("PAYOR_ENDORSE <>", value, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseGreaterThan(String value) {
            addCriterion("PAYOR_ENDORSE >", value, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseGreaterThanOrEqualTo(String value) {
            addCriterion("PAYOR_ENDORSE >=", value, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseLessThan(String value) {
            addCriterion("PAYOR_ENDORSE <", value, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseLessThanOrEqualTo(String value) {
            addCriterion("PAYOR_ENDORSE <=", value, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseLike(String value) {
            addCriterion("PAYOR_ENDORSE like", value, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseNotLike(String value) {
            addCriterion("PAYOR_ENDORSE not like", value, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseIn(List<String> values) {
            addCriterion("PAYOR_ENDORSE in", values, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseNotIn(List<String> values) {
            addCriterion("PAYOR_ENDORSE not in", values, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseBetween(String value1, String value2) {
            addCriterion("PAYOR_ENDORSE between", value1, value2, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andPayorEndorseNotBetween(String value1, String value2) {
            addCriterion("PAYOR_ENDORSE not between", value1, value2, "payorEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseIsNull() {
            addCriterion("CORP_ENDORSE is null");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseIsNotNull() {
            addCriterion("CORP_ENDORSE is not null");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseEqualTo(String value) {
            addCriterion("CORP_ENDORSE =", value, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseNotEqualTo(String value) {
            addCriterion("CORP_ENDORSE <>", value, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseGreaterThan(String value) {
            addCriterion("CORP_ENDORSE >", value, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseGreaterThanOrEqualTo(String value) {
            addCriterion("CORP_ENDORSE >=", value, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseLessThan(String value) {
            addCriterion("CORP_ENDORSE <", value, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseLessThanOrEqualTo(String value) {
            addCriterion("CORP_ENDORSE <=", value, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseLike(String value) {
            addCriterion("CORP_ENDORSE like", value, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseNotLike(String value) {
            addCriterion("CORP_ENDORSE not like", value, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseIn(List<String> values) {
            addCriterion("CORP_ENDORSE in", values, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseNotIn(List<String> values) {
            addCriterion("CORP_ENDORSE not in", values, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseBetween(String value1, String value2) {
            addCriterion("CORP_ENDORSE between", value1, value2, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andCorpEndorseNotBetween(String value1, String value2) {
            addCriterion("CORP_ENDORSE not between", value1, value2, "corpEndorse");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtIsNull() {
            addCriterion("ID_EXPIRE_DT is null");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtIsNotNull() {
            addCriterion("ID_EXPIRE_DT is not null");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtEqualTo(Date value) {
            addCriterion("ID_EXPIRE_DT =", value, "idExpireDt");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtNotEqualTo(Date value) {
            addCriterion("ID_EXPIRE_DT <>", value, "idExpireDt");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtGreaterThan(Date value) {
            addCriterion("ID_EXPIRE_DT >", value, "idExpireDt");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtGreaterThanOrEqualTo(Date value) {
            addCriterion("ID_EXPIRE_DT >=", value, "idExpireDt");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtLessThan(Date value) {
            addCriterion("ID_EXPIRE_DT <", value, "idExpireDt");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtLessThanOrEqualTo(Date value) {
            addCriterion("ID_EXPIRE_DT <=", value, "idExpireDt");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtIn(List<Date> values) {
            addCriterion("ID_EXPIRE_DT in", values, "idExpireDt");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtNotIn(List<Date> values) {
            addCriterion("ID_EXPIRE_DT not in", values, "idExpireDt");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtBetween(Date value1, Date value2) {
            addCriterion("ID_EXPIRE_DT between", value1, value2, "idExpireDt");
            return (Criteria) this;
        }

        public Criteria andIdExpireDtNotBetween(Date value1, Date value2) {
            addCriterion("ID_EXPIRE_DT not between", value1, value2, "idExpireDt");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}